-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Platform: PC, OS: Windows XP
Reference Issue 501
Reference Issue 512
If project specifies a jdk earlier than 1.5 Hudson will fail due to loading
classes with an incompatible major/minor version.
started
Using env variables:
$ C:\IBM\WebSphere\AppServer\java/bin/java -cp "C:\Program Files\Apache Software
Foundation\Tomcat
6.0\webapps\hudson\WEB-INF\lib\maven-agent-1.105-SNAPSHOT.jar;C:\dev\maven-2.0.6WAS\boot\classworlds-1.1.jar"
hudson.maven.agent.Main C:\dev\maven-2.0.6WAS "C:\Program Files\Apache Software
Foundation\Tomcat 6.0\webapps\hudson\WEB-INF\lib\remoting-1.105-SNAPSHOT.jar"
"C:\Program Files\Apache Software Foundation\Tomcat
6.0\webapps\hudson\WEB-INF\lib\maven-interceptor-1.105-SNAPSHOT.jar"
The java class could not be loaded. java.lang.UnsupportedClassVersionError:
hudson/maven/agent/Main (Unsupported major.minor version 49.0)
FATAL: unexpected stream termination
java.io.EOFException: unexpected stream termination
at hudson.remoting.Channel.<init>(Channel.java:142)
at hudson.Launcher$LocalLauncher$1.<init>(Launcher.java:183)
at hudson.Launcher$LocalLauncher.launchChannel(Launcher.java:182)
at hudson.maven.MavenBuild$RunnerImpl.newProcess(MavenBuild.java:288)
at hudson.maven.ProcessCache.get(ProcessCache.java:166)
at hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:257)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:121)
at hudson.model.Run.run(Run.java:559)
at hudson.maven.MavenBuild.run(MavenBuild.java:127)
at hudson.model.Executor.run(Executor.java:59)