To fix it, you need to add the tools.jar file from your JDK 1.2 LIB
directory to the classpath that is in the startserver.bat file (or just add
it to your environment variables).
Also look at FAQ, Topic 40:
http://www.esperanto.org.nz/jsp/jspfaq.html
mfg
gandalf software peter vorwieger
At Freitag, 28. Mai 1999 11:53, Colin Burroughs wrote:
>Hi,
>
>Just downloaded and ran JSP1.0, the server starts just fine and the
>servlets run a treat, however all JSP examples respond with the following
>error:
>
>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 com.sun.jsp.compiler.Main.compile(Main.java:194)
> at com.sun.jsp.runtime.JspLoader.loadJSP(JspLoader.java:114)
> at
>com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet
.
>java:69)
> at
>com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:77
)
> at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:125)
> at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:152)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
> at com.sun.web.core.Context.handleRequest(Context.java:382)
> at com.sun.web.server.ConnectionHandler.run(Compiled Code)
>
>Although the JSP module has initialised:
>
>com.sun.jsp.runtime.JspServlet: init
>Scratch dir for JSP-generated servlets is: work\%3A8080%2Fexamples
>IMPORTANT: Do not modify the generated servlets
>
>Any clues?
>
>CB
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".