sandbox icon indicating copy to clipboard operation
sandbox copied to clipboard

Problem running mvn test

Open robdimarco opened this issue 15 years ago • 3 comments
trafficstars

/usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:109:in get_proxy_or_package_under_package': cannot load Java class com.github.kyleburton.SomeClass (NameError) from /usr/local/jruby/lib/ruby/site_ruby/shared/builtin/javasupport/java.rb:51:inmethod_missing' from /Users/rdimarco/projects/kyle-sandbox/examples/maven/rspec/src/test/specs/some_class_spec.rb:1 from /Users/rdimarco/projects/kyle-sandbox/examples/maven/rspec/src/test/specs/some_class_spec.rb:15:in load' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:15:inload_files' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:14:in each' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/example_group_runner.rb:14:inload_files' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/options.rb:132:in run_examples' from /usr/local/jruby-1.4.0/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec/runner/command_line.rb:9:inrun' from -:34 exit: 1

robdimarco avatar Feb 20 '10 20:02 robdimarco

Your blog post isn't up yet so thought this would be the easiest place to comment.

robdimarco avatar Feb 20 '10 20:02 robdimarco

This appears to be an issue with JRuby 1.4 -- if you use JRuby 1.3.1 (http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.tar.gz) it works. I'll add notes about this to the blog post and readme -- I'll also try to investigate it it further to see if I can provide guidance to the plugin author. Can you try it with JRuby 1.3?

kyleburton avatar Feb 20 '10 21:02 kyleburton

I have the same problem with jruby 1.5.1! I try to use an ueber JAR in a rails app. On my MacBook Air it works fine. But on debian linux with jruby 1.5.1 I got this odd Exception.

reiz avatar Dec 05 '11 09:12 reiz