You need tools.jar from jdk1.2\lib in your classpath.....it's used to
compile the servlet resulting from the jsp.

--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Play:        http://www.trongus.com


I have installed jsp1.0, started the server and run the servlet samples
run fine, but the all of the jsp samples return a runtime exception as
follows:


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)

I have java2 installed, in my path and seemingly working fine. (NT 4.0)
I'm not sure what to check out next.
Thanks for any suggestions...

===========================================================================
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