You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "lauradiara@libero.it" <la...@libero.it> on 2002/03/05 15:42:07 UTC

Please help me

Hi all,

I'm an italian student: for my thesis I have to install Tomcat on a sun 
machine with solaris 8 because I have to do some experiments.
I have tried to install Tomcat 3.3a but when I type ./startup.sh for 
starting tomcat I get this error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/ap
ache/tomcat/startup/Main

I have followed all the instructions: TOMCAT_HOME is set, JAVA_HOME is 
set and I exported them.

I can't understand the error: where is my error?

Please help me.

Thanks for your help

Laura
 

Re: Please help me

Posted by Lev Assinovsky <le...@peterlink.ru>.
Seems, you need to modify catalina.sh script to add
all .jar under $JAVA_HOME/lib to class path, which is passed to
java. To do that you need to understand shell.


Startup.sh doesn't use CLASSPATH environment variable.

"lauradiara@libero.it" wrote:

> Hi all,
>
> I'm an italian student: for my thesis I have to install Tomcat on a sun
> machine with solaris 8 because I have to do some experiments.
> I have tried to install Tomcat 3.3a but when I type ./startup.sh for
> starting tomcat I get this error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: org/ap
> ache/tomcat/startup/Main
>
> I have followed all the instructions: TOMCAT_HOME is set, JAVA_HOME is
> set and I exported them.
>
> I can't understand the error: where is my error?
>
> Please help me.
>
> Thanks for your help
>
> Laura
>

--
Lev Assinovsky                Peterlink Web
Programmer                    St. Petersburg, Russia
Tel/Fax: +7 812 3275343       197022 ul.Chapigina 7а
E-mail: lev@peterlink.ru




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>