Error Information:HTTP Status 500
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
Error Cause:
apache-maven-3.5.0: default running tomcat is Apache Tomcat/6.0.29
, but Apache Tomcat/6.0.29
is not available for jdk1.8.0.
Error Solution:
Configure my pom.xml like this:
|
|
Thanks to Apache Tomcat Maven Plugin.