Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic

Problem deploying JSP in Tomcat(HF S&J pg:89)

 
J Chitra
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I tried to deploy the 3rd version of the servlet in Chapter 3 and i get the error report on Tomcat:

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

And it points to the line:

view.forward(req,res);

of the servlet. I checked the classpath:
c:\prj\coffee-v1\classes;
c:\tomcat\common\lib\servlet-api.jar;
c:\Tomcat\common\lib\jsp-api.jar;

and Path: %JAVA_HOME%\bin

and JAVA_HOME:c:\j2sdk1.4.2_06

Thanks
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Actually, your original post was best. This is a problem with using/configuring Tomcat, not related to SCWCD.

Find the original post here
 
    Bookmark Topic Watch Topic
  • New Topic