compile tomcat 8.5 source code successfully, start successfully, access localhost:8080 Times Unable to compile class for JSP error. Access to non-jsp (such as ico,png) resources is normal.
configure environment:
:
:
used solution: when searching on Baidu and Google, most of the answers are javax.servlet.jar or jsp-api.jar deletion, but whether I delete these two jar packages or keep them, accessing index.jsp is Unable to compile class for JSP"s fault.