我刚学JAVA,所以就看着书来学,
可是最后还是出错了
有没有人可以帮我看看这是什么问题?
怎么解决?
谢谢!!!
有点长,不好意思
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
An error occurred at line: 6 in the jsp file: /guestbook.jsp
Generated servlet error:
C:\Documents and Settings\Administrator\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\MyWeb\org\apache\jsp\guestbook_jsp.java:62: 找不到符号
符号: 类 Vector
位置: 类 org.apache.jsp.guestbook_jsp
Vector vResult=guestbook.getList("");
^
An error occurred at line: 39 in the jsp file: /guestbook.jsp
Generated servlet error:
C:\Documents and Settings\Administrator\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\MyWeb\org\apache\jsp\guestbook_jsp.java:99: 找不到符号
符号: 类 Vector
位置: 类 org.apache.jsp.guestbook_jsp
Vector row = (Vector)vResult.elementAt(i);
^
An error occurred at line: 39 in the jsp file: /guestbook.jsp
Generated servlet error:
C:\Documents and Settings\Administrator\.netbeans\5.0\jakarta-tomcat-5.5.9_base\work\Catalina\localhost\MyWeb\org\apache\jsp\guestbook_jsp.java:99: 找不到符号
符号: 类 Vector
位置: 类 org.apache.jsp.guestbook_jsp
Vector row = (Vector)vResult.elementAt(i);
^
3 错误
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:246)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.9