Forum: JRuby method missing

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3a10ab24a98ffb9884eebb4965dbc955?d=identicon&s=25 Guillermo Acilu (Guest)
on 2008-11-12 22:16
(Received via mailing list)
Hello guys,

I am receiving the following error:

/usr/local/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/
active_support/dependencies.rb:510:in `method_missing': cannot load
Java class

The jar file is located in the Jruby_home/lib. The class name and the
path is correctly typed. The code line when the error happens is like
this: Java::com.mypackage.myClass

any ideas?

Thanks,

GA
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2008-11-12 23:08
(Received via mailing list)
Guillermo Acilu wrote:
> Hello guys,
>
> I am receiving the following error:
>
> 
/usr/local/jruby-1.1.4/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:510:in
> `method_missing': cannot load Java class
>
> The jar file is located in the Jruby_home/lib. The class name and the
> path is correctly typed. The code line when the error happens is like
> this: Java::com.mypackage.myClass

Can you show the full error? Can you run JRuby and access that class in
a simple script?

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
This topic is locked and can not be replied to.