Recent activity
Subscribe to this feed
kman replied on May 18, 2009 03:56 to the question "Fatal Error running the 'Creating a JRuby Plugin' Example" in Sonatype:
Resolved this problem. I added the following two dependencies to the pom:
<dependency>
<groupid>backport-util-concurrent</groupid>
<artifactid>backport-util-concurrent</artifactid>
<version>3.0</version>
</dependency>
<dependency>
<groupid>asm</groupid>
<artifactid>asm-all</artifactid>
<version>2.2.3</version>
</dependency>
kman asked a question in Sonatype on May 17, 2009 20:45:
Fatal Error running the 'Creating a JRuby Plugin' ExampleThe '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>
Loading Profile...
