Hi,
        I'm trying to set up Tomcat, the apache java servlet and jsp server on an
NT machine.  I installed the JDK 1.3 from sun and then the most recent
Tomcat from Jakarta and thats it.  When I go to view the example pages they
have set up, the servlet pages work fine, but the jsp ones cause errors in
the browser (in both Netscape and IE) and on the server's console window.
I'm its something on the setup side that I haven't done yet, but I dont know
what I should do.  Any help would be appreciated greatly.

I already tried copying tools.jar into the tomcat\lib folder as someone
suggested, but I'm still getting the same errors.
If it helps I've put the errors from the server side below.  I'm pretty new
to java so it might be somethign really dumb I forgot.

Thanks,
Pete


Unhandled error! You might want to consider having an error page to report
such
errors more gracefully
java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.ja
va:128)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
        at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessar
y(JspServlet.java:149)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:161)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
        at java.lang.Thread.run(Unknown Source)

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to