ISSUE :
 
Profile photo
Submitted by Martin Fowler
on June 25th, 2011 at 21:18:13 EST

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

Hi,
I am getting this error when starting Tomcat v7.x in Ubuntu environment.
What might be the configurations I might be missing?
Thanks,
Martin


Profile photo
Replied by Martin Fowler
on June 25th, 2011 at 21:26:08 EST
Hi,
I solved that problem by issuing command
sudo chmod 777 apache-tomcat-7.0.16

Now i am getting this error
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
Any suggestion is appreciated.
Thanks,
Martin

Profile photo
Replied by Yogaraj Khanal
on June 25th, 2011 at 22:29:36 EST
Try to go to $CATALINA_HOME/bin folder and try to run ./startup.sh and try http://localhost:8080/ on the browser.
Thanks,
Yogi
Accepted Answer
Accepted
 Answer

Profile photo
Replied by Martin Fowler
on June 26th, 2011 at 10:41:55 EST
Thanks it works now.
Martin