Tomcat 部署项目是报如下错误:
Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a path of “/MyWebsite”.
产生原因:
之前将项目发布后,将项目删除掉了,但是之前的Tomcat中的配置信息还在,再次部署时,产生了两个同名的Context配置信息
解决方法:
找到Servers中的server.xml,将其中Context 标签中重名的配置信息删掉即可
Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a
最新推荐文章于 2021-08-10 12:57:09 发布