NoClassDefFoundError during application installation
 Technote (troubleshooting)
 
Problem(Abstract)
A NoClassDefFoundError was thrown while attempting to install a portlet. An attempt was made to install the portlet war file in a standalone IBM® WebSphere® Application Server environment as well and the following error was received. The error also occurred when trying to install the default application.

[3/29/05 17:44:46:031 CST] 278be2c7 ComponentMana E WSVR0501E: Error creating component com.ibm.ws.webservices.component.WSServerImpl
java.lang.NoClassDefFoundError: com/ibm/etools/webservice/wsdd/WebServices
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:262)
at com.ibm.ws.runtime.service.ComponentManagerImpl.getInstance(ComponentManagerImpl.java:183)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:671)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:601)
at com.ibm.ws.runtime.component.ApplicationServerImpl.initialize(ApplicationServerImpl.java:68)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:687)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:624)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:95)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:122)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:228)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
 
Cause
The above error is misleading. On further investigation the root cause of the problem was that there were some mismatches of Application Server install code from different fix pack installs. This can be caused when files from a new release are manually copied from another machine.
 
Resolving the problem
The problem can only be resolved by doing an uninstall and then a reinstall of the product because it is difficult to determine if each install file is for the right release/version.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > System Management/Repository
Operating system(s): Windows
Software version: 6.0.2
Software edition:
Reference #: 1203411
IBM Group: Software Group
Modified date: Apr 15, 2005