aspose 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
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: 53
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: 19785
    
  20

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error While Starting tomcat