Add tools.jar (of JDK1.2) to the classpath in the startserver.bat file
should fix the problem.
Kurt
Ajit Kumar Dash <[EMAIL PROTECTED]> on 05/04/99 11:47:10 PM
Please respond to Ajit Kumar Dash <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Kurt Jiang/BOSTON/SSGA)
Subject: Re: problem running jsp 1.0
Hi,
I too am facing problem for last two days..
The steps I performed are
1. clicked the startserver
2. opened the browser and connected to the url http://localhost:8080/
3. clicked into the jsp samples and tried to execute one jsp file..
The error I'm getting is
---------
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)
------------
Can someone please help me...
Ajit
> ----------
> From: Jody Brown[SMTP:[EMAIL PROTECTED]]
> Reply To: Jody Brown
> Sent: Tuesday, May 04, 1999 9:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: problem running jsp 1.0
>
> Sorry to add to the confusion, but I also have been having exactly the
> same problem. Over the past two days I have tried all suggestions
> recommeded. So far I have attempted the following in order to get it to
> work:
>
> *installed jdk1.2.1 under NT4(originally attempted with jdk1.1.8,
> to
> no avail)
>
> *ensured classpath is set up pointing to jsp1.0\server.jar,
> servlet.jar & jdk1.2.1\bin\tools.jar
>
> *set path so it is pointing to jdk1.2.1\bin to pick up the newest
> java executable
>
> *added localhost to the default.cfg file
>
> *experimented with the document base setting in the default.cfg &
> the directory where I invoke startserver(this has the effect of
> either not finding any document that I try to point to - "Error
> 404
> File not found /<location>", or where I believe it has found the
> file but not been able to invoke it - "Error 404 No detailed
> message"
>
> If anyone has any other suggestions, as to how to get this thing working,
> it
> would be greatly appreciated.
>
> Regards,
>
> Jody Brown.
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.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".
===========================================================================
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".