You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Aitchison, Scott" <sa...@springtidenet.com> on 2000/08/10 17:28:55 UTC
RE: please help: Tomcat3.1 on Win 98 - servlet examples: ok -- js
p examples: failure
Tomcat can't find your java compiler. I believe all you have to do is set
the JAVA_HOME environment variable to wherever the java compiler is,
c:\jdk1.2.2\bin
-----Original Message-----
From: Kriss Weissmann [mailto:k.weissmann@gmx.net]
Sent: Thursday, August 10, 2000 11:08 AM
To: tomcat-user@jakarta.apache.org
Subject: please help: Tomcat3.1 on Win 98 - servlet examples: ok -- jsp
examples: failure
Kristian Weissmann
Adelholzener Str.5 81669 München Tel.:089/6891219
Studienanschrift: Friedrichstr. 3 78120 Furtwangen Tel.:07723/914377
e-mail: k.weissmann@gmx.net
mobil: 0170 8889132
Hi,
on trying the jsp - examples, I get the following error:
- http-Response:
Error: 500
Location: /examples/jsp/num/numguess.jsp
sun/tools/javac/Main
- java error on standard.out:
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
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:161)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
at java.lang.Thread.run(Unknown Source)
anybody can help ?
greetings,
Kriss Weissmann, Germany