T omcat:removeGeneratedFiles Failed to delete the generated java file solution

Questions

Phenomenon

        Tomcat service startup: JSP page returns 404 phenomenon

Log analysis

02-jun-2021 16:17:30.174 warning [http-nio-8080-exec-14] org.apache.jasper.compiler.compiler.removegeneratedfiles failed to delete the generated java file [E:// cloudvos/apache-tomcat-9.0.39-windows-x64/apache-tomcat-9.0.39/work/Catalina/localhost/CS/org/Apache/JSP/Web]_ 002dINF\views\modules\ri\communityList_ jsp.java]

solve

         File permissions caused by the problem, delete all cache files

Delete the contents of apache-tomcat-9.0.7

Delete the contents of apache-tomcat-9.0.7

Read More: