Include tools.jar in classpath env variable. tools.jar can be found at
jdk1.2\lib\ directory.
-----Original Message-----
From: Steve Houghton <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, June 10, 1999 9:23 AM
Subject: JSP examples Not working
>
>
>Note: Some recipients have been dropped due to syntax errors.
>Please refer to the "$AdditionalHeaders" item for the complete headers.
>
>
>Can someone help with this (i'm sure its a simple fix).
>
>I've done fresh jdk 1.2.1 installs on two machines and still get this when
>I
>run the JSP files in the example for the reverence JSP environment on suns
>page.
>
>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)
>
>
>Thanks,
>
>Steve
>
>===========================================================================
>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".
===========================================================================
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".