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: An error occurred at line: [242] in the generated java file: [/website/program/tomcat71/work/Catalina/www.sunpowergroup.com.cn/_/org/apache/jsp/tag/web/core/wcm_005fcms_005fnews/newslist_tag.java] Syntax error, insert "else Statement" to complete IfStatement An error occurred at line: [242] in the generated java file: [/website/program/tomcat71/work/Catalina/www.sunpowergroup.com.cn/_/org/apache/jsp/tag/web/core/wcm_005fcms_005fnews/newslist_tag.java] Syntax error, insert "}" to complete Block An error occurred at line: [256] in the generated java file: [/website/program/tomcat71/work/Catalina/www.sunpowergroup.com.cn/_/org/apache/jsp/tag/web/core/wcm_005fcms_005fnews/newslist_tag.java] Syntax error on token "}", delete this token An error occurred at line: [257] in the generated java file: [/website/program/tomcat71/work/Catalina/www.sunpowergroup.com.cn/_/org/apache/jsp/tag/web/core/wcm_005fcms_005fnews/newslist_tag.java] Syntax error, insert "}" to complete ClassBody Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:392) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:594) org.apache.jasper.compiler.Compiler.compile(Compiler.java:400) 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.loadTagFile(JspServletWrapper.java:270) org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:574) org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:49) org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:651) org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1553) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2450) org.apache.jasper.compiler.Node$Root.accept(Node.java:474) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2468) org.apache.jasper.compiler.Node$IncludeDirective.accept(Node.java:653) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2450) org.apache.jasper.compiler.Node$Root.accept(Node.java:474) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392) org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:669) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:235) 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.