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".