struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <yasser.zam...@live.com>
Subject Re: Build failed in Jenkins: Struts-JDK6-support-2.3 #1063
Date Fri, 23 Jun 2017 09:35:19 GMT
I found the documentation at [1].

Further info at [2] and [3] are available.

[1] https://github.com/jenkins-infra/jenkins.io/pull/554/files
[2] https://issues.jenkins-ci.org/browse/JENKINS-40810
[3] https://issues.apache.org/jira/browse/INFRA-13556

On 6/23/2017 1:49 PM, Yasser Zamani wrote:
> Class "hudson.remoting.Launcher" has been compiled with jdk7 so you get
> this message when you use jdk6. (I had same problem with maven then I
> replaced last maven which is compatible with jdk6)
>
> On 6/23/2017 11:57 AM, Apache Jenkins Server wrote:
>> See <https://builds.apache.org/job/Struts-JDK6-support-2.3/1063/display/redirect?page=changes>
>>
>> Changes:
>>
>> [Lukasz Lenart] Uses resource message key instead of passing message directly
>>
>> ------------------------------------------
>> Started by user Lukasz Lenart
>> [EnvInject] - Loading node environment variables.
>> Building remotely on ubuntu-eu2 (ubuntu trusty) in workspace <https://builds.apache.org/job/Struts-JDK6-support-2.3/ws/>
>> Cloning the remote Git repository
>> Cloning repository http://git.apache.org/struts.git
>>  > git init <https://builds.apache.org/job/Struts-JDK6-support-2.3/ws/>
# timeout=10
>> Fetching upstream changes from http://git.apache.org/struts.git
>>  > git --version # timeout=10
>>  > git fetch --tags --progress http://git.apache.org/struts.git +refs/heads/*:refs/remotes/origin/*
>>  > git config remote.origin.url http://git.apache.org/struts.git # timeout=10
>>  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* #
timeout=10
>>  > git config remote.origin.url http://git.apache.org/struts.git # timeout=10
>> Fetching upstream changes from http://git.apache.org/struts.git
>>  > git fetch --tags --progress http://git.apache.org/struts.git +refs/heads/*:refs/remotes/origin/*
>>  > git rev-parse refs/remotes/origin/support-2-3^{commit} # timeout=10
>>  > git rev-parse refs/remotes/origin/refs/heads/support-2-3^{commit} # timeout=10
>> Checking out Revision 73da12e723c2737bd515946588ddcd898acf584a (refs/remotes/origin/support-2-3)
>>  > git config core.sparsecheckout # timeout=10
>>  > git checkout -f 73da12e723c2737bd515946588ddcd898acf584a
>>  > git rev-list 9e8627ca669ec566bbedd638fc6010e8ae364160 # timeout=10
>> [locks-and-latches] Checking to see if we really have the locks
>> [locks-and-latches] Have all the locks, build can start
>> Parsing POMs
>> Modules changed, recalculating dependency graph
>> Established TCP socket on 54465
>> maven3-agent.jar already up to date
>> maven3-interceptor.jar already up to date
>> maven3-interceptor-commons.jar already up to date
>> [Struts-JDK6-support-2.3] $ /home/jenkins/tools/java/latest1.6/bin/java -Xms128m
-Xmx768m -XX:MaxPermSize=256m -XX:PermSize=128m -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.5 /home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
54465
>> Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher
: Unsupported major.minor version 51.0
>> 	at java.lang.ClassLoader.defineClass1(Native Method)
>> 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>> 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>> 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>> 	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>> 	at java.security.AccessController.doPrivileged(Native Method)
>> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>> 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:386)
>> 	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
>> 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>> 	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>> 	at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:138)
>> 	at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:70)
>> [locks-and-latches] Releasing all the locks
>> [locks-and-latches] All the locks released
>> ERROR: Failed to parse POMs
>> java.io.EOFException: unexpected stream termination
>> 	at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:365)
>> 	at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
>> 	at hudson.slaves.Channels.forProcess(Channels.java:115)
>> 	at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:294)
>> 	at hudson.maven.ProcessCache.get(ProcessCache.java:236)
>> 	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:803)
>> 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
>> 	at hudson.model.Run.execute(Run.java:1728)
>> 	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:542)
>> 	at hudson.model.ResourceController.execute(ResourceController.java:98)
>> 	at hudson.model.Executor.run(Executor.java:405)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
Mime
View raw message