注册 登录
编程论坛 J2EE论坛

求助,TOMCAT启动单个羡慕出错,就这个项目不可以其他都可以。显示无法编译JSP

Jli 发布于 2017-03-23 12:53, 6993 次点击
HTTP Status 500 - Unable to compile class for JSP

type Exception report

message Unable to compile class for JSP

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
 org.apache.jasper.(JspCompilationContext.java:677)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

root cause

java.lang.IllegalArgumentException: Page directive: invalid value for import
 org.apache.(Node.java:628)
 org.apache.(Node.java:609)
 org.apache.(Parser.java:352)
 org.apache.(Parser.java:473)
 org.apache.(Parser.java:1773)
 org.apache.(Parser.java:135)
 org.apache.(ParserController.java:242)
 org.apache.(ParserController.java:119)
 org.apache.(Compiler.java:194)
 org.apache.(Compiler.java:374)
 org.apache.(Compiler.java:354)
 org.apache.(Compiler.java:341)
 org.apache.jasper.(JspCompilationContext.java:662)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.72 logs.
Apache Tomcat/7.0.72
3 回复
#2
Jli2017-03-23 12:54
我调了好久,都不行。求大神指点一下啊。。。我快疯了
#3
枫xby2017-03-29 17:35
你代码中有不合法的参数,能否贴一下你的代码
#4
隐秘而伟大2018-07-31 08:50
JSP文件的写法有严重的格式问题无法编译么?
能否把jsp文件贴出来
1