日期:2014-05-18  浏览次数:20733 次

遇到了JSP编译报错!请大侠帮忙!
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:
        [javac]   E:\jcProject\Tomcat\work\jcWebModel\org\apache\jsp\login_jsp.java:108:   cannot   resolve   symbol
        [javac]   symbol     :   method   querySsdwListLogin   ()
        [javac]   location:   class   control.model.imp.OperationFacedImpi
        [javac]   Collection   list   =   ofi.querySsdwListLogin();
        [javac]                                             ^
        [javac]   1   error


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)
control.model.FacedFilter.doFilter(FacedFilter.java:41)


note   The   full   stack   trace   of   the   root   cause   is   available   in   the   Apache   Tomcat/5.0.27   logs.


------解决方案--------------------
ofi是嘛?没有找到querySsdwListLogin方法
------解决方案--------------------
ofi对象没有import?
你用eclipse么,好的IDE可以帮助你查找问题所在
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html
我的异常网推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.aiyiweb.com/j2ee/2308.html