Could not publish server configuration for tomcat v8.0 server at localhost. multiple contexts
Could not publish server configuration for tomcat v8.0 server at localhost.
multiple contexts containing same name /projectnameThe server.xml file is corrupted by Eclipse!!! I found out many times with Eclipse, don't be afraid to do some changes in XML file.
Inside the Eclipse we have Server folder. In that open the server.xml file.
Just search your project name in the form of ['/Project Name'].
Notice How many context tags are there in the same path?
Remove the unwanted context tags.
Note:
[If there is three context tags with your project name then delete the two context tags and remaining one will remain there. ]
Comments
Post a Comment