This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 19655
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
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