Why do I get a java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.visit() error when running JRuby 1.X with a custom classpath?
The problem stems from an ASM jar conflict. It was found by setting a custom classpath, which includes a version of Spring that has a conflicting ASM jar, and then invoking JRuby. The easiest workaround is to build jruby-complete as a single jar and edit the JRuby config file (not sure about Windows, but it should be similar) to source only the jruby-complete jar. You will need to add ALL other jars, which I believe includes your jdbc driver as well.
Related Questions
- When I get the error message "MCMC error 0315: prior variance matrix is not positive definitive" while running a multinomial model using MCMC, what exactly do I need to do to the numbers in C1096?
- Where can I find the error messages generated by a DUP that is running in unattended mode?
- Can I use a custom image for the success / error image message?