You need to make sure the sun tools.jar file is included in the CLASSPATH
that your server sees. tools.jar contains the compiler javac which jsp
needs to compile the servlet it generates.
At 07:33 PM 7/7/99 +0530, you wrote:
>hi guys,
>when i run the samples from jsp1.0(kit) which includes a web
server.Servlets work fine butwhen i run the jsp samples i get the following
error msg,.
>
>
>-------------------------------------------------
>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)...
>---------------------------------
>
>any help is appreciated..
>
>
>_________________________________________________
>
>Get Your Free Email At, http://www.rediffmail.com
>
>===========================================================================
>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".