NameError while create java object in rails console (jruby-1.6.3)

Dear Sir/Madam,

When I was trying to create a java object using jruby-1.6.3, there’s
some
NameError coming up:

NameError: cannot link Java class com.hub.sso.DealerCurl, probable
missing
dependency: Illegal field name “2” in class com/hub/sso/DealerCurl
from org/jruby/javasupport/JavaUtilities.java:54:in
get_proxy_or_package_under_package' from /usr/local/rvm/rubies/jruby-1.6.3/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51:in method_missing’
from (irb):5:in `evaluate’

I included java and required jars that I need, it works fine with other
classes.
Can you help me out with this problem? Thank you in advance.

Best,
Bo


Bo Liang

Software Engineer

C O V E R A G O

744 Broad Street, 32nd Floor

Newark, NJ 07102

[email protected] [email protected]