You need to have tools.jar included in the classpath of jsm.properties.
balan


"LEGA, Laura" wrote:

> Hello everybody out there!
> I'm new here and have some problems....
>
> I tried to run the examples that comes with the JSP1.0 reference and this is
> what I get executing the first example "numberguess".
>
> -----------------
>
> 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)
>
> -----------------
>
> The web server is working fine (I think....)
>
> Can anyone help me, please?
>
> Thanks, Laura
>
> ===========================================================================
> 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".

Reply via email to