java.lang.NoClassDefFoundError in unix
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vasanth_Venkatachalam
Posted On:   Friday, May 18, 2001 12:58 AM

When I run startup.sh, I get the following error:

"Using
classpath: foo/jakarta-tomcat-3.2.1/lib/*:/opt/jdk-1.2.2/lib/tools.jar
vvenkata@vader% Exception in thread
"main" java.lang.NoClassDefFoundError: org/apache/tomcat/startup/Tomcat"

How can I correct this? Thanks.

Re: java.lang.NoClassDefFoundError in unix

Posted By:   Alex_Chaffee  
Posted On:   Sunday, July 15, 2001 10:47 AM

Re: java.lang.NoClassDefFoundError in unix

Posted By:   Anonymous  
Posted On:   Friday, May 18, 2001 09:54 AM

There is a problem in your classpath. If you look at the "Using classpath" message you see that points do a 'foo/jakarta-tomcat-3.2.1/lib/*' that it's wrong. This classpath it's normally generated by the tomcat.sh script and it works if the TOMCAT_HOME and JAVA_HOME are set correctly.

From that message I can see that JAVA_HOME it's ok (the tools.jar it's there), but i'm afraid that TOMCAT_HOME it's not correct. It seems that it is set to "foo/jakarta-tomcat-3.2.1".

Try to fix this and try again.

Regards.
About | Sitemap | Contact