严重: Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.apache.

pom文件配置

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
<scope>provided</scope>
</dependency>



servlet-api  以及jsp-api不要勾选,因为tomcat已有会冲突。


严重: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateEx

11-18

2009-11-18 14:44:34 org.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet jsp threw exceptionrnjava.lang.IllegalStateException: No Java compiler availablern at org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationrnContext.java:225)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContextrn.java:560)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapperrn.java:302)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3rn29)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplrnicationFilterChain.java:269)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFrnilterChain.java:188)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVrnalve.java:213)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextVrnalve.java:174)rn at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticarntorBase.java:433)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jrnava:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jrnava:117)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValrnve.java:108)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.javrna:151)rn at org.apache.coyote.http11.Http11Processor.process(Http11Processor.javarn:874)rn at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.prnrocessConnection(Http11BaseProtocol.java:665)rn at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpornint.java:528)rn at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFolrnlowerWorkerThread.java:81)rn at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPrnool.java:689)rn at java.lang.Thread.run(Thread.java:620)

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试

关闭