docker部署tomcat项目遇到 More than one fragment with the name [org_apache_tomcat_websocket]

没截图  看到了cause by  More than one fragment with the name [org_apache_tomcat_websocket]  (后面还有 )

部署项目命令

docker run -dit --network=hezhi --name=score  -v /etc/timezone:/etc/timezone -v /etc/localtime:/etc/localtime -p 8086:80 -v /data/tomcat-8.5.50:/tomcat-8.5.50 390b58b1be42

因为部署时用的是tomcat7  导致项目一直启动不了,更换成tomcat8 问题解决  目前使用的是8.5.50

看日志!

先进入docker容器,

logs为tomcat日志

原文地址:https://www.cnblogs.com/St123456/p/12165115.html