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

问题解决。

猜你喜欢

转载自blog.csdn.net/zhouyingge1104/article/details/109345891