Idea compilation tomcat 8.5 source code cannot compile jsp to class

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:
clipboard.png

:

clipboard.png

:

clipboard.png

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.

Mar.02,2021

have you solved this problem, too?

Menu