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删除)
IDEASpringBoot部署到tomcat加载jsp时报错
重启tomcat
问题解决

相关文章:

  • 2021-12-13
  • 2022-12-23
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-06-09
  • 2021-08-07
猜你喜欢
  • 2021-04-05
  • 2021-08-03
  • 2022-02-07
  • 2021-12-02
  • 2022-01-21
  • 2021-06-24
  • 2022-12-23
相关资源
相似解决方案