运行jsp时出错,大侠来看看
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:
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\test2\work\org\apache\jsp\info_jsp.java:7: package com does not exist
import com.*;
^
An error occurred at line: 11 in the jsp file: /info.jsp
Generated servlet error:
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\test2\work\org\apache\jsp\info_jsp.java:117: cannot resolve symbol
symbol : variable Chaxun
location: class org.apache.jsp.info_jsp
Chaxun.cx(sql);
^
An error occurred at line: 42 in the jsp file: /info.jsp
Generated servlet error:
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\test2\work\org\apache\jsp\info_jsp.java:123: cannot resolve symbol
symbol : variable Chaxun
location: class org.apache.jsp.info_jsp
for(int i=0;i <Chaxun.num;i++)
^
An error occurred at line: 46 in the jsp file: /info.jsp
Generated servlet error:
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\test2\work\org\apache\jsp\info_jsp.java:128: cannot resolve symbol
symbol : variable Chaxun
location: class org.apache.jsp.info_jsp
out.print(Chaxun.result[i][0]);
^
An error occurred at line: 47 in the jsp file: /info.jsp
Generated servlet error:
C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\test2\work\org\apache\jsp\info_jsp.java:131: cannot resolve symbol
symbol : variable Chaxun
location: class org.apache.jsp.info_jsp
out.print(Chaxun.result[i][1]);
^
An error occurred at line: 48 in the jsp file: /info.jsp
Generated servlet error:
C:\Program Files\