急急!jsp加载bean是出现的错误,请各位帮我看看
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: 51 in the jsp file: /jspdev/manage.jsp
Generated servlet error:
[javac] Compiling 1 source file
D:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\jspdev\manage_jsp.java:94: cannot resolve symbol
symbol : class Product
location: class org.apache.jsp.jspdev.manage_jsp
Product product = null;
^
An error occurred at line: 51 in the jsp file: /jspdev/manage.jsp
Generated servlet error:
D:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\jspdev\manage_jsp.java:96: cannot resolve symbol
symbol : class Product
location: class org.apache.jsp.jspdev.manage_jsp
product = (Product) _jspx_page_context.getAttribute("product", PageContext.PAGE_SCOPE);
^
An error occurred at line: 51 in the jsp file: /jspdev/manage.jsp
Generated servlet error:
D:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\jspdev\manage_jsp.java:98: cannot resolve symbol
symbol : class Product
location: class org.apache.jsp.jspdev.manage_jsp
product = new Product();
^
3 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.