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

问题解决。

上一篇:03-Comparator 和 Ordering


下一篇:Introduction to templates in C++