Java.lang.ClassNotFoundException:hudson.remoting.Launcher

Source: Internet
Author: User

The Jenkins build failed with the following error message:

[Yjp-dev-po-hrsync] $ "C:\Program Files\java\jdk1.8.0_121/bin/java"-CP d:\ Yun Pei \jenkins_home\plugins\maven-plugin\ Web-inf\lib\maven35-agent-1.11.jar;d:\ Yun Pei \apache-maven-3.5.0\boot\plexus-classworlds-2.5.2.jar;d:\ 云驾培 \ Apache-maven-3.5.0/conf/logging jenkins.maven3.agent.Maven35Main d:\ Yun Pei \apache-maven-3.5.0 d:\?~?\jenkins_home\ War\web-inf\lib\remoting-3.12.jar d:\ Yun Pei \jenkins_home\plugins\maven-plugin\web-inf\lib\ Maven35-interceptor-1.11.jar d:\ Yun Pei \jenkins_home\plugins\maven-plugin\web-inf\lib\ Maven3-interceptor-commons-1.11.jar 54332Exception in thread "main" java.lang.ClassNotFoundException: Hudson.remoting.Launcherat Org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass ( SELFFIRSTSTRATEGY.JAVA:50) at Org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass ( classrealm.java:271) at Org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (classrealm.java:247) at Org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass (classrealm.java:239) at Jenkins.maven3.ageNt. Maven35main.main (maven35main.java:133) at Jenkins.maven3.agent.Maven35Main.main (maven35main.java:64) ERROR: ====== ==========================================================================error:invalid Project Setup:connection Reseterror: [jenkins-18403][jenkins-28294] JDK ' jdk1.8.0 ' not supported to run Maven projects. Error:maven projects has to is launched with a Java version greater or equal to the minimum version required by the mast Er. Error:use the maven JDK Toolchains (plugin) to build your Maven project with an older JDK. Error:retrying with slave Java and setting compile/test properties to point to C:\Program Files\java\jdk1.8.0_121.error: ================================================================================established TCP socket on 54334

Reason: The name of the directory where Jenkins and maven are stored is not Chinese.
D:\ Yun Pei \ Change to D:\yunjiapei\

Java.lang.ClassNotFoundException:hudson.remoting.Launcher

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.