- 使用JDK9运行
tomcat:run
命令报错,运行tomcat7:run
则正常,原因应该是maven内置的tomcat插件版本太低。
- 关键字
- 严重: Compilation error
org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException - 严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 1 in the generated java file
The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files
An error occurred at line: 1 in the generated java file
The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files
An error occurred at line: 23 in the generated java file
The method getName() is undefined for the type Class
- 严重: Compilation error
org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException