Unable to compile class for JSP:

org.apache.jasper.JasperException: Unable to compile class for JSP: 



An error occurred at line: 1 in the generated java file

The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files



Stacktrace:

	org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)

	org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331)

	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:469)

	org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)

	org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)

	org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)

	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)

	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)

	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

目前位置,在上个错误发生后,我降低了JDK版本后,这个错误也就消失了!

JDK版本是一个原因。。

你可能感兴趣的:(compile)