Skip to content

Instantly share code, notes, and snippets.

@shin1ogawa
Created May 9, 2009 09:48
Show Gist options
  • Save shin1ogawa/109205 to your computer and use it in GitHub Desktop.
Save shin1ogawa/109205 to your computer and use it in GitHub Desktop.
[INFO] [datanucleus:enhance {execution: default}]
[INFO] DataNucleus Enhancer (version 1.1.2) : Enhancement of classes
DataNucleus Enhancer : Classpath
>> /Users/shin1/Documents/projects.gae/gae-jdo-simple-sample/target/classes
>> /Users/shin1/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
>> /Users/shin1/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar
>> /Users/shin1/.m2/repository/javax/jdo/jdo2-api/2.3-SNAPSHOT/jdo2-api-2.3-SNAPSHOT.jar
>> /Users/shin1/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
>> /Users/shin1/.m2/repository/com/google/appengine/appengine-api/1.0-sdk-1.2.0/appengine-api-1.0-sdk-1.2.0.jar
>> /Users/shin1/.m2/repository/org/datanucleus/datanucleus-core/1.1.2/datanucleus-core-1.1.2.jar
>> /Users/shin1/.m2/repository/javax/transaction/transaction-api/1.1/transaction-api-1.1.jar
>> /Users/shin1/.m2/repository/org/datanucleus/datanucleus-rdbms/1.1.2/datanucleus-rdbms-1.1.2.jar
>> /Users/shin1/.m2/repository/org/datanucleus/datanucleus-enhancer/1.1.2/datanucleus-enhancer-1.1.2.jar
>> /Users/shin1/.m2/repository/asm/asm/3.1/asm-3.1.jar
>> /Users/shin1/.m2/repository/org/codehaus/plexus/plexus-utils/1.2/plexus-utils-1.2.jar
>> /opt/local/share/java/maven2/lib/maven-2.0.9-uber.jar
[ERROR] --------------------
[ERROR] Standard error from the DataNucleus tool + org.datanucleus.enhancer.DataNucleusEnhancer :
[ERROR] --------------------
[ERROR] 2009/05/09 18:47:20 org.datanucleus.enhancer.DataNucleusEnhancer <init>
???: DataNucleus Enhancer : Using ClassEnhancer "ASM" for API "JDO"
2009/05/09 18:47:21 org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints
???: Bundle "org.datanucleus" has an optional dependency to "org.eclipse.equinox.registry" but it cannot be resolved
2009/05/09 18:47:21 org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints
???: Bundle "org.datanucleus" has an optional dependency to "org.eclipse.core.runtime" but it cannot be resolved
2009/05/09 18:47:21 org.datanucleus.enhancer.DataNucleusEnhancer main
???: DataNucleus Enhancer (version 1.1.2) : Enhancement of classes
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.datanucleus.JDOClassLoaderResolver.classOrNull(JDOClassLoaderResolver.java:553)
at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:204)
at org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:415)
at org.datanucleus.metadata.MetaDataManager.loadClasses(MetaDataManager.java:379)
at org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:723)
at org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:525)
at org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1233)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment