|
Re: [jruby-user] Classpath in JRuby: msg#00234lang.jruby.user
Yes of course i did: The TestCase: $:.unshift File.join(File.dirname(__FILE__), "..", "lib") require 'uems_client' require 'test/unit' Dir['*.jar'].each {|x| require x} class ManyLoginsTest < Test::Unit::TestCase include UemsClient def setup set_url("http://localhost:8080/uems") set_service_name("RegistryQueryService") end def test_login login('uemsadmin', 'uemsadmin', 100) end end _____________________________________________________ The Command: > jruby many_logins.rb Loaded suite many_logins Started 1 E Finished in 0.875 seconds. 1) Error: test_login(ManyLoginsTest): NativeException: java.lang.IllegalArgumentException : interface com.fortent.uems.service.RegistryQuery is not visible from class loader Proxy.java:353:in `java.lang.reflect.Proxy.getProxyClass' Proxy.java:581:in `java.lang.reflect.Proxy.newProxyInstance' _____________________________________________________ The Library: > jar -tf uems-common-1.2.0-SNAPSHOT.jar | grep RegistryQuery com/fortent/uems/service/DeltaRegistryQuery.class com/fortent/uems/service/RegistryQuery.class Anything odd? Jason On Nov 30, 2007 12:43 PM, Nick Sieger <nicksieger@xxxxxxxxx> wrote:
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [jruby-user] Classpath in JRuby: 00234, Nick Sieger |
|---|---|
| Next by Date: | Re: [jruby-user] Classpath in JRuby: 00234, Nick Sieger |
| Previous by Thread: | Re: [jruby-user] Classpath in JRubyi: 00234, Nick Sieger |
| Next by Thread: | Re: [jruby-user] Classpath in JRuby: 00234, Nick Sieger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |