Get your own customer support community
 

Fatal Error running the 'Creating a JRuby Plugin' Example

The 'Creating a JRuby Plugin' Example (18-4) does not seem to work for me. When I run the `mvn install` command, I get the following error:

[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] edu/emory/mathcs/backport/java/util/concurrent/locks/ReentrantLock
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/locks/ReentrantLock
at org.jruby.internal.runtime.ThreadService.<init>(ThreadService.java:55)
at org.jruby.Ruby.<init>(Ruby.java:115)
at org.jruby.Ruby.newInstance(Ruby.java:242)
at org.jruby.Ruby.getDefaultInstance(Ruby.java:232)
at org.codehaus.plexus.component.jruby.JRubyRuntimeInvoker.invoke(JRubyRuntimeInvoker.java:288)

My guess is that the jruby-maven-plugin has a dependency on the code JRuby lib, but not the complete lib. I have tried adding the missing dependencies but it doesn't work. I am using Maven version 2.0.9. Has anyone came across this? </init></init>
 
sad I’m frustrated
Inappropriate?
1 person has this question

The company marked this question as answered.


User_default_medium