openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LongkerDandy <longkerda...@gmail.com>
Subject Java 7 OpenJPA Maven Enhance
Date Sat, 14 Jan 2012 12:29:48 GMT
Hi

I have OpenJPA with Apache Felix & Apache Aries.
It used to work fine, but after I update to Java 7, I got this error when
runing maven install.

[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.mojo:openjpa-maven-plugin:1.2:enhance (enhancer) on project
chii2.medialibrary.persistence: Execution enhancer of goal
org.codehaus.mojo:openjpa-maven-plugin:1.2:enhance failed: An API
incompatibility was encountered while executing
org.codehaus.mojo:openjpa-maven-plugin:1.2:enhance: java.lang.VerifyError:
Expecting a stackmap frame at branch target 190 in method
org.chii2.medialibrary.persistence.entity.ImageFileImpl.<clinit>()V at
offset 181
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.codehaus.mojo:openjpa-maven-plugin:1.2
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/C:/Users/LongkerDandy/.m2/repository/org/codehaus/mojo/openjpa-maven-plugin/1.2/openjpa-maven-plugin-1.2.jar
[ERROR] urls[1] =
file:/C:/Users/LongkerDandy/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.7/plexus-utils-1.5.7.jar
[ERROR] urls[2] =
file:/C:/Users/LongkerDandy/.m2/repository/org/apache/openjpa/openjpa/2.0.0/openjpa-2.0.0.jar
[ERROR] urls[3] =
file:/C:/Users/LongkerDandy/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[4] =
file:/C:/Users/LongkerDandy/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
[ERROR] urls[5] =
file:/C:/Users/LongkerDandy/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
[ERROR] urls[6] =
file:/C:/Users/LongkerDandy/.m2/repository/net/sourceforge/serp/serp/1.13.1/serp-1.13.1.jar
[ERROR] urls[7] =
file:/C:/Users/LongkerDandy/.m2/repository/org/apache/geronimo/specs/geronimo-jms_1.1_spec/1.1.1/geronimo-jms_1.1_spec-1.1.1.jar
[ERROR] urls[8] =
file:/C:/Users/LongkerDandy/.m2/repository/org/apache/geronimo/specs/geronimo-jta_1.1_spec/1.1.1/geronimo-jta_1.1_spec-1.1.1.jar
[ERROR] urls[9] =
file:/C:/Users/LongkerDandy/.m2/repository/commons-pool/commons-pool/1.5.3/commons-pool-1.5.3.jar
[ERROR] urls[10] =
file:/C:/Users/LongkerDandy/.m2/repository/org/apache/geronimo/specs/geronimo-jpa_2.0_spec/1.0/geronimo-jpa_2.0_spec-1.0.jar
[ERROR] urls[11] =
file:/C:/Users/LongkerDandy/.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm
ClassRealm[project>org.chii2:chii2.medialibrary.persistence:1.0.0-SNAPSHOT,
parent: ClassRealm[maven.api, parent: null]]]

Need Help & Thanks
LongkerDandy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message