Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exception in thread "main" java.lang.NoClassDefFoundError

Status
Not open for further replies.

javoine

Programmer
May 22, 2003
25
US
Hello, I'm looking for some help with this please. I'm on a Win2000 platform trying to execute the start for tomcat through catalina.bat. The following code is at the bottom in catalina.bat. but everytime i try to run the startup for tomcat i get this:Exception in thread "main" java.lang.NoClassDefFoundError

any suggestions? pretty please? thanx in advance to all tomcat/java gurus who can help me out.

rem Execute the Tomcat launcher
"%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;%PRG%\..\..\jwsdp-shared\bin;"%PRG%\..\..\jwsdp-shared\bin\commons-launcher.jar";"%PRG%\..\..\jakarta-ant-1.5.1\lib\ant.jar";"%PRG%\..\..\jakarta-ant-1.5.1\lib\optional.jar";"%PRG%\..\..\jaxp-1.2.2\lib\jaxp-api.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\sax.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\dom.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\xercesImpl.jar";"%PRG%\..\..\jaxp-1.2.2\lib\endorsed\xalan.jar";"%PATH%" LauncherBootstrap jwsdp -DJAVA_HOME="%JAVA_HOME%" -DCATALINA_OPTS="%CATALINA_OPTS%" %CMD_LINE_ARGS%
 
Make sure that the CLASSPATH variable points to the dirs that your code is in - this error indicates that the JVM cannot reference the class you are trying to invoke ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top