ClassNotFoundException During Build of a Maven Job

Issue

Running a maven job causes a ClassNotFoundException

Environment

  • Cloubees CloudBees Jenkins Enterprise

Resolution

Ensure that the slave.jar file is not removed or deleted from the slave machine during the clean up step of the build.

Diagnostic

In the console output of the job it shows:

Exception in thread “main” java.lang.ClassNotFoundException: hudson.remoting.Launcher

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.