buckneri / youtube-direct

Automatically exported from code.google.com/p/youtube-direct
0 stars 1 forks source link

ASM incompatible with GAE SDK #121

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download latest source from SVN
2. Build in Eclipse
3. Get exception from org.datanucleus.enhancer.DataNucleusEnhancer

What is the expected output? What do you see instead?

Expected: Successful enhancement and application works upon deployment.

Actual:

With DataNucleus v1:

Sep 2, 2013 11:46:53 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage
SEVERE: An error occured for ClassEnhancer "ASM" when trying to call the method 
"org.datanucleus.enhancer.asm.ASMClassEnhancer" on class 
"getClassNameForFileName" : class 
org.datanucleus.enhancer.asm.ASMClassEnhancer$MyClassVisitor has interface 
org.objectweb.asm.ClassVisitor as super class
java.lang.IncompatibleClassChangeError: class 
org.datanucleus.enhancer.asm.ASMClassEnhancer$MyClassVisitor has interface 
org.objectweb.asm.ClassVisitor as super class

With DataNucleus v2:

Caused by: org.datanucleus.exceptions.NucleusUserException: You seem to have 
ASM v3 in the CLASSPATH and you need ASM v4

What version of the product are you using? On what operating system?

Latest from SVN, Mac OS 10.8

Please provide any additional information below.

Seems that the version of ASM needs updating, however I cannot find what is 
actually referencing it other than the GAE SDK itself which I just downloaded.  
It is using version 1.8.3 of the GAE SDK.

Original issue reported on code.google.com by Christop...@gmail.com on 2 Sep 2013 at 10:57

GoogleCodeExporter commented 8 years ago
I am having the same issue. I am using Jersey for my Web Services deployed on 
Google App Engine. There is a Jar conflict between both of them. So i need to 
use Data Nucleus V1. 

Original comment by vijay...@gmail.com on 11 Nov 2013 at 8:48