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: [29] in the jsp file: [/WEB-INF/tags/core/wcm_cms_product/产品列表.tag] t2 cannot be resolved to a variable 26: pageBean.search(); 27: List<Map> list = pageBean.getDatas(); 28: long t3= System.currentTimeMillis(); 29: out.println("<script>t2:"+(t3-t2)+"</script>"); 30: if(list!=null&&!list.isEmpty()){ 31: for(Map m:list){ 32: String id=Common.getString(m.get("id")); 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.