SecurityException Rejected Nested Runtime Exception


I am receiving the following error message in my logs (or console output):

java.lang.SecurityException: Rejected: org.springframework.core.NestedRuntimeException
    at hudson.remoting.ClassFilter.check(
    at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(


  • Jenkins
  • CloudBees Jenkins Enterprise

Related Issue



In new versions of Jenkins core is a security mechanism to prevent unwanted classes from being returned from node machines.

There is a workaround which will require a Jenkins restart.

Create a file on the Jenkins master.

In the file add the following:


After you add the above to the file then save the content.

Next step please change the Jenkins JAVA_ARGS and add the following:


After the = add the fully qualified path to the file created above.

Start up the Jenkins service again and the error message should go away.

Have more questions? Submit a request


Please sign in to leave a comment.