-----Original Message-----
From: Ilan Amar [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 07, 1999 8:52 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Having problems....Hi,
You should add a reference to tools.jar (which is part of JDK 1.2) to your classpath. I had the same problem and it was solved after I've edited JSP startserver.bat file (that is part of JSP kit). Attached is the relevant section in startserver.bat, however I suggest to append tools.jar to all occurrences of CLASSPATH in startserver.bat.
:noclasspath
set _CLASSPATH=
set CLASSPATH=server.jar;servlet.jar;examples\WEB-INF\jsp\beans;classes;c:\jdk1.2.1\lib\tools.jar
goto nextBye,
Ilan Amar
-----Original Message-----
From: Karl Morley [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 07, 1999 11:08 PM
To: [EMAIL PROTECTED]
Subject: Having problems....
Hello All,
I am experimenting with Java Server Pages, I have problems running the
JSPSamples and receive the following error, any help with be appreciated.
(My current configuration is below)
http://localhost:8080/examples/jsp/num/numguess.jsp
Unhandled error! You might want to consider having an error page to report
such errors more gracefullyjava.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)
Configuration:
Windows NT 4.0 Service Pack 4.0
java version "1.2.1"
Classic VM (build JDK-1.2.1-A, native threads)
CLASSPATH=D:\SAG\BOLERO\classes\fixes.jar;D:\SAG\BOLERO\projects;D:\SAG\BOLE
RO\classes\appserver.jar;D:\SAG\BOLERO\classes;===========================================================================
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".
Title: RE: Having problems....
Many
thanks to everyone for there help...
- Having problems.... Karl Morley
- Karl Morley
