0%

Tomcat启动报错:More than one fragment with the name [org_apache_tomcat_websocket]

问题描述

SpringBoot项目,本机运行正常,打war包放到服务器的Tomcat中之后无法访问,404.

查看了Tomcat的catalina.日志,发现报错:

More than one fragment with the name [org_apache_tomcat_websocket] was found.This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering.

解决办法

把Tomcat7 换成Tomcat8