IDEASpringBoot打包成war包部署到tomcat后访问不了jsp,浏览器出现下面的错误
org.apache.jasper.JasperException: Unable to compile class for JSP
或者
javax.servlet.ServletException: javax.el.ELException: Unable to find ExpressionFactory of type [# Licensed to the Apache Software Foundation (ASF) under one or more]
问题可能原因:jar包冲突
在apache-tomcat-9.0.30\webapps\项目名称\WEB-INF\lib
目录下删除下面四个jar包(即把tomcat-embed删除)
即删除tomcat-embed相关的jar包
重启tomcat
问题解决