I got the following error while working on a JSP project on Eclipse IDE. I have been using Tomcat server version 7.
Here is the error message:
‘Publishing to Tomcat v7.0 Server at localhost…’ has encountered a problem.
Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a path of “/MyProject”.
Solution
We can solve this problem either from Eclipse IDE itself or by editing a file outside of Eclipse.
From Eclipse
– Open “Project Explorer”
– Go inside “Servers -> Tomcat v7.0 Server at localhost”
– Open server.xml
– Search for tag
– There ...
Tomcat Eclipse Error: Multiple contexts having same path is a post from: Mukesh Chapagain's Blog