This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error While Starting tomcat" Watch "Error While Starting tomcat" New topic

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

Joined: Oct 27, 2005
Posts: 19541

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.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Error While Starting tomcat
Similar Threads
I am having problem in installing tomcat
‘java.lang.UnsupportedClassVersionError: Bad version number in .class file’
customize 503 error page in IIS Tomcat configuration
tomcat not running??