springboot打包成war后部署项目出现异常 LifecycleException: Failed to start component

完整异常:org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext

 原因:https://blog.csdn.net/u010014162/article/details/79024945

springboot版本:1.5.19.RELEASE

使用的jsp依赖:

 进入 tomcat-embed-jasper 中查看发现是因为springboot的这个tomcat内置版本和我服务器版本上的不一致,服务器上的是 tomcat 7.0.84,所以不兼容这个高版本springboot打包出来的项目,换成和下面的tomcat一样的版本即可,如果要往下兼容的话,那就参考上面的那篇文章,有方法兼容

原文地址:https://www.cnblogs.com/kinome/p/10397283.html