Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running mvn test #1

Open
robdimarco opened this issue Feb 20, 2010 · 3 comments
Open

Problem running mvn test #1

robdimarco opened this issue Feb 20, 2010 · 3 comments

Comments

@robdimarco
Copy link

/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
Copy link
Author

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

@kyleburton
Copy link
Owner

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?

@reiz
Copy link

reiz commented Dec 5, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants