![]() ![]() ![]() “ C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot/bin/java” -cp D:\data\sl16vmhg-jenkins-slave\maven35-agent.jar D:\data\sl16vmhg-jenkins-slave\tools\_MavenInstallation\maven-3.5.2\boot\plexus-classworlds-2.5.2.jar D:\data\sl16vmhg-jenkins-slave\tools\_MavenInstallation\maven-3.5.2/conf/logging 35Main D:\data\sl16vmhg-jenkins-slave\tools\_MavenInstallation\maven-3.5.2 D:\data\sl16vmhg-jenkins-slave\slave.jar D:\data\sl16vmhg-jenkins-slave\maven35-interceptor.jar D:\data\sl16vmhg-jenkins-slave\maven3-interceptor-commons.jar 54942 I had also tried to use JDK11, then I am getting the compilation error due to JDK11 as our code in JDK8. “ C:\Program Files\Java\jdk1.8.0_91/bin/java” -cp D:\data\sl16vmhg-jenkins-slave\maven35-agent.jar D:\data\sl16vmhg-jenkins-slave\tools\_MavenInstallation\maven-3.5.2\boot\plexus-classworlds-2.5.2.jar D:\data\sl16vmhg-jenkins-slave\tools\_MavenInstallation\maven-3.5.2/conf/logging 35Main D:\data\sl16vmhg-jenkins-slave\tools\_MavenInstallation\maven-3.5.2 D:\data\sl16vmhg-jenkins-slave\slave.jar D:\data\sl16vmhg-jenkins-slave\maven35-interceptor.jar D:\data\sl16vmhg-jenkins-slave\maven3-interceptor-commons.jar 54939Įxception in thread “main” : hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 While running Maven Project Build, I chooses JDK 8 for build but I am getting below error… ![]() I had already installed JDK 8, JDK11(mandatory for Jenkins version 2.332.3) on the Jenkins server.Īlso, Configured both JDK with label JDK8 and JDK 11 on Global tools Config. Maven builds (JDK 8) are failing with the below error after upgrading to Jenkins(JDK 11) version 2.332.3. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |