NoClassDefFoundError when Move Copy Promote jobs

Article ID:360036350671
1 minute readKnowledge base

Symptoms

Trying to perform a Move/Copy/Promote you get the error:

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class ...

Environment

Diagnosis/Treatment

In a Support Bundle from the controller where this issue is occurring, open the "file-descriptors.txt" file and look for the library where the class indicated in the error is included. Two different versions of this library will appear loaded in the core or a same plugin.

import

Look for the right library version for the core or plugin version where it is being loaded and remove the other one.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.