GoogleAppEngine : JAR for enhancer not found, yet ASM is on the classpath
- by James.Elsey
When deploying my application to GoogleAppEngine I'm getting the following message after the upload
Exception in thread "Thread-0" You have selected to use ClassEnhancer "ASM" yet the JAR for that enhancer does not seem to be in the CLASSPATH!
org.datanucleus.enhancer.NucleusEnhanceException: You have selected to use ClassEnhancer "ASM" yet the JAR for that enhancer does not seem to be in the CLASSPATH!
at org.datanucleus.enhancer.DataNucleusEnhancer.init(DataNucleusEnhancer.java:212)
at org.datanucleus.enhancer.DataNucleusEnhancer.addClasses(DataNucleusEnhancer.java:370)
at org.datanucleus.enhancer.EnhancerProcessor$EnhanceRunnable.run(EnhancerProcessor.java:163)
at java.lang.Thread.run(Thread.java:636)
I'm not sure why this is happening, since I have the following in my POM
<dependency>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
<version>3.2</version>
</dependency>
Which is required by GAE, and the ASM jar is located in the target directory, so I'm failing to see what the issue is
Any ideas?
[james@nevada gae-deployment]$ ls target/salestracker/WEB-INF/lib/asm*
target/salestracker/WEB-INF/lib/asm-3.2.jar