GoogleAppEngine : JAR for enhancer not found, yet ASM is on the classpath

Posted by James.Elsey on Stack Overflow See other posts from Stack Overflow or by James.Elsey
Published on 2010-04-03T16:45:14Z Indexed on 2010/04/03 16:53 UTC
Read the original article Hit count: 414

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about asm