The method getJspApplicationContext(ServletContext) is undefined for the type Jscsdn - 众发娱乐

The method getJspApplicationContext(ServletContext) is undefined for the type Jscsdn

2019-02-14 09:17:38 | 作者: 涵亮 | 标签: 项目,运转,原因 | 浏览: 7450

The method getJspApplicationContext(ServletContext) is undefined for the type 项目之前都是好好的,运转正常,但不知啥原因,俄然不能正常运转,一切拜访都报这个错误码,其它项目能够正常运转,rn在网上找了一圈,都是说树立web项目时生成servlet-api.jar,jsp-api.jar与tomcat的包有抵触,比tomca版别低rn但我没有发现我的项目有重复的这些包,我们没有遇到这个问题rnrn2014-3-31 9:38:37 org.apache.jasper.compiler.TldLocationsCache tldScanJarrn信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.rn2014-3-31 9:38:39 org.apache.catalina.core.StandardWrapperValve invokern严峻: Servlet.service() for servlet [jsp] in context with path [/MobileHospital_bank] threw exception [Unable to compile class for JSP: rnrnAn error occurred at line: [36] in the generated java file: [D:\apache-tomcat-7.0.42\work\Catalina\localhost\test_project\org\apache\jsp\index_jsp.java]rnThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnrnStacktrace:] with root causernorg.apache.jasper.JasperException: Unable to compile class for JSP: rnrnAn error occurred at line: [36] in the generated java file: [D:\apache-tomcat-7.0.42\work\Catalina\localhost\test_project\org\apache\jsp\index_jsp.java]rnThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactoryrnrnStacktrace:rn at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)rn at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)rn at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:468)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)rn at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:96)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)rn at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)rn at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)rn at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)rn at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)rn at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)rn at java.lang.Thread.run(Thread.java:662)rn

版权声明
本文来源于网络,版权归原作者所有,其内容与观点不代表众发娱乐立场。转载文章仅为传播更有价值的信息,如采编人员采编有误或者版权原因,请与我们联系,我们核实后立即修改或删除。

猜您喜欢的文章