This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error While Starting tomcat

 
karthik manick
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20492
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic