HTTP Status 500 - 问题---初学者,请高手指教
基于Tomcat 的Jsp在浏览器中浏览时会出现以下提示
分析因该不是Tomcat 的配置问题, 也不是jdk版本问题,因为是可以运行其它项目的,tomcat目录下也有tools.jar包
是路径问题?可是在又搞不好,请教高手啊
HTTP Status 500 -
--------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
D:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\web\org\apache\jsp\Library\web\index_jsp.java:6: 软件包 kjb.main 不存在
import kjb.main.DealString;
^
An error occurred at line: 3 in the jsp file: /Library/web/index.jsp
Generated servlet error:
D:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\web\org\apache\jsp\Library\web\index_jsp.java:46: 找不到符号
符号: 类 DealString
位置: 类 org.apache.jsp.Library.web.index_jsp
DealString ds = new DealString();
^
An error occurred at line: 3 in the jsp file: /Library/web/index.jsp
Generated servlet error:
D:\Program Files\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\web\org\apache\jsp\Library\web\index_jsp.java:46: 找不到符号
符号: 类 DealString
位置: 类 org.apache.jsp.Library.web.index_jsp
DealString ds = new DealString();
^
3 错误
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
--------------------------------------------
Apache Tomcat/5.0.28
-