File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Error While Starting tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error While Starting tomcat" Watch "Error While Starting tomcat" New topic
Author

Error While Starting tomcat

karthik manick
Ranch Hand

Joined: Aug 25, 2009
Posts: 52
I am getting the following error while running a simple Jsp "java.lang.NoClassDefFoundError: sun/tools/javac/Main
"
. I m using JDK7 and Tomcat 4....Please help...
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

I suggest you first try updating your Tomcat. You're using the latest JDK yet your Tomcat is years old.

You should also consider setting the JAVA_HOME environment variable to your JDK's root folder.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
wood burning stoves
 
subject: Error While Starting tomcat
 
Similar Threads
‘java.lang.UnsupportedClassVersionError: Bad version number in .class file’
Error
I am having problem in installing tomcat
tomcat not running??
customize 503 error page in IIS Tomcat configuration