威尼斯98488-China NO.1

HTTP Status 500 – Internal Server Error


Type Exception Report

Message Unable to compile class for JSP

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: Unable to compile class for JSP
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:675)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400)
	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:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:87)

Root Cause

java.lang.IllegalArgumentException: Page directive: invalid value for import
	org.apache.jasper.compiler.Node$PageDirective.validateImport(Node.java:628)
	org.apache.jasper.compiler.Node$PageDirective.addImport(Node.java:611)
	org.apache.jasper.compiler.Parser.parsePageDirective(Parser.java:352)
	org.apache.jasper.compiler.Parser.parseDirective(Parser.java:473)
	org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1773)
	org.apache.jasper.compiler.Parser.parse(Parser.java:135)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:237)
	org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:119)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:394)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400)
	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:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.jerei.website.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:87)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/7.0.104

Baidu
sogou