Method missing


#1

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


#2

Guillermo A. 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