You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Steven Maring <St...@trcinc.com> on 2000/04/05 13:56:52 UTC
RE: Tomcat won't start - Exception in thread "main" java.lang.NoC
lassDefFoundError: org/apache/tomcat/startup/Tomcat
I encountered this error when I tried to use the pre-compiled version. I
never could figure out where the Tomcat classes were. If you get the source
and compile it yourself, you should end up with a $TOMCAT_HOME/classes
directory that contains all the Tomcat classes. Just stick that in your
CLASSPATH and away you go. :-)
-----Original Message-----
From: David Stack
To: tomcat-user@jakarta.apache.org
Sent: 4/5/00 3:53 AM
Subject: Tomcat won't start - Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/tomcat/startup/Tomcat
Hello,
I am trying to get Tomcat v3.1_beta_1 started on Linux Red Hat 6.0.
I have java version "1.2.2" installed also.
When I run 'startup.sh' or 'tomcat.sh start' I get the following error:
>> root /usr/local/tomcat/bin>Exception in thread "main" >>
java.lang.NoClassDefFoundError: org/apache/tomcat/startup/Tomcat
This is driving me nuts! So I read some old posts in the mailing list
archive and they talk about setting the environmental variables might
fix
the problem.
So I tried that, and it didn't do anything!
Here is part of my .bash_profile that i tried:
PATH=$PATH:$HOME/bin
CLASSPATH=/usr/local/jdk/jre/lib/
LD_LIBRARY_PATH=/usr/local/jdk/jre/lib/
TOMCAT_HOME=/usr/local/tomcat
JAVA_HOME=/usr/local/jdk
ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME ENV PATH CLASSPATH LD_LIBRARY_PATH TOMCAT_HOME JAVA_HOME
Could someone be so kind as to tell me why I am having an impossible
time
getting Tomcat started? I am sure it is something very simple that I
am
not doing.
Thanks you very much!
Dave
------------------------------------------------------------------------
--
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org