Tomcat reports an error

错误描述:Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a path of "/wcm".”

Reason: The essence of the problem is that we have multiple projects with the same name. Why do we have multiple projects with the same name? In fact, it is generally caused by the incomplete deletion of the previous project when we delete the previous project and then re-import it into eclipse. , the previous project also has our previous application in the <Context> under the "server.xml" file in "Servers".

Solution: Delete one of the two with the same name in the <Context> of "server.xml" in Tomcat.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325844952&siteId=291194637