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日志


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM