java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException

Article ID:360033342051
1 minute readKnowledge base

Issue

I’m seeing the following exception being thrown in my builds. java.lang.NoClassDefFoundError: com/ibm/websphere/management/exception/ConnectorException

Resolution

This exception has been traced back to the 'Deploy to Websphere' plugin (id websphere-deployer). The plugin requires several Websphere related jar files to be put into the Jenkins classpath.

Workaround

The workaround or resolution is to uninstall the plugin if you are no longer using it or ensure that you install the missing libraries per the "Required Libraries For Deployments To IBM WebSphere Application Server".

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.