JRuby has two distributions in maven, the simple jruby jar and a jruby-complete jar (http://repo1.maven.org/maven2/org/jruby/), the complete one includes all the dependency classes inside the single jruby-complete jar so you don't need to worry about including any other dependency jars. I've not tried taking everything from the JRuby install lib directory, if you can't see any other asm jar's that could be in the way could you post the complete stacktrace of the error?
...ant On 5/21/07, Asankha C. Perera <[EMAIL PROTECTED]> wrote:
Hi Ant Kasun was trying the RC2 too from http://dist.codehaus.org/jruby When I tried this last, it was 0.9 something, and I extracted the distribution of JRuby, and copied complete contents of its lib folder into the Synapse lib folder.. I assume this is what you meant as jruby-complete? We do not have a dependency with "Asm" so I am not sure how we might cause a version mismatch asankha ant elder wrote: That looks like a version problem with the Asm dependency. Which version of JRuby are you using - jruby-complete which includes its own version of Asm, or just the jruby jar and including the Asm dependency explicitly yourself? Also exactly which release of JRuby, the latest i can find is 1.0RC2? ...ant On 5/21/07, Kasun Samarasinghe <[EMAIL PROTECTED]> wrote: > > Hi > > when initializing the scripting engine in script mediator for ruby > following exception > occured > > Exception in thread "main" java.lang.NoSuchMethodError: > org.objectweb.asm.ClassWriter.visit(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;) > > this is when we using jruby1.0 with BSF 1.0 > > But when we using jruby0.9 this was not occured. can anyone help me on > this issue. > > Thanks, > > Kasun > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
