Yeah seems like it needs jdk6. Not sure if thats really expected. I
will talk to the openjpa folks about it. In the meantime we need to
switch back to 2.0.1

Bye,
Norman


2011/4/23 Felix Knecht <[email protected]>:
> Could it be that the openjpa-2.1.0 dependency (added in [1]) has been
> compiled with a later java version then the CI Jenkins is using?
>
> Regards
> Felix
>
> [1] http://svn.apache.org/viewvc?rev=1096013&view=rev
>
>
> On 04/23/2011 01:42 PM, Apache Jenkins Server wrote:
>>
>>
>> See<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/1546/>
>>
>> ------------------------------------------
>> [JENKINS] Archiving
>> /home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/pom.xml to
>> /home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-SNAPSHOT/james-server-file-3.0-M3-SNAPSHOT.pom
>> [JENKINS] Archiving
>> /home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/target/james-server-file-3.0-M3-SNAPSHOT.jar
>> to
>> /home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-20110423.114231-261/james-server-file-3.0-M3-20110423.114231-261.jar
>> [JENKINS] Archiving
>> /home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/target/james-server-file-3.0-M3-SNAPSHOT-tests.jar
>> to
>> /home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-20110423.114231-261/james-server-file-3.0-M3-20110423.114231-261-tests.jar
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Apache James Server JPA Data Persistence 3.0-M3-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [INFO]
>> Deleting<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target>
>>
>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
>> james-server-jpa ---
>> [INFO]
>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @
>> james-server-jpa ---
>> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing
>> resourceDirectory<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/src/main/resources>
>> [INFO] Copying 3 resources
>>
>> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
>> james-server-jpa ---
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>> james-server-jpa ---
>> [INFO] Compiling 6 source files
>> to<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target/classes>
>> [INFO]
>> [INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @
>> james-server-jpa ---
>> [INFO]
>> [INFO] --- openjpa-maven-plugin:1.1:enhance (enhancer) @ james-server-jpa
>> ---
>> 192  WARN   [pool-1-thread-1] openjpa.Enhance - The type
>> "org.apache.james.domainlist.jpa.model.JPADomain" must have a no-args
>> constructor. Adding a public no-args constructor.
>> 234  WARN   [pool-1-thread-1] openjpa.Enhance - The type
>> "org.apache.james.rrt.jpa.model.JPARecipientRewrite" must have a no-args
>> constructor. Adding a public no-args constructor.
>> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 1 resource
>> [INFO] Copying 3 resources
>>
>> [INFO] --- maven-resources-plugin:2.4.3:testResources
>> (default-testResources) @ james-server-jpa ---
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
>> james-server-jpa ---
>> [INFO] Compiling 3 source files
>> to<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target/test-classes>
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>>
>> [ERROR]<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/src/test/java/org/apache/james/domainlist/jpa/JPADomainListTest.java>:[32,-1]
>> cannot access org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
>> bad class file:
>> /home/hudson/.m2/repository/org/apache/openjpa/openjpa/2.1.0/openjpa-2.1.0.jar(org/apache/openjpa/persistence/OpenJPAEntityManagerFactory.class)
>> class file has wrong version 50.0, should be 49.0
>> [INFO] 1 error
>> [INFO] -------------------------------------------------------------
>> mojoFailed
>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile)
>> projectFailed org.apache.james:james-server-jpa:3.0-M3-SNAPSHOT
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to