Tomcat startup failure error resolution in MyEclipse Could not publish server configuration for Tomcat v6.0 Server at localhost.

You can open http://127.0.0.1:8080/ in the webpage,
indicating that our Tomact is no problem

Starting Myact has failed when starting MyEclipse. The error message is as follows:
Could not publish server configuration for Tomcat v6.0 Server at localhost.
Multiple Contexts have a path of “/ Spring / shiyan1”.

Solution: This is mainly a problem of multiple names of multiple projects (
usually when we delete the previous project and then re-import it into eclipse, the previous project is not completely deleted. The previous project is in the "Servers" In the "server.xml" file, there is also our previous application. In my error message, the project was renamed Spring.shiyan1
)
1. First find the Servers in MyEclipse Insert picture description here
2. Find the servlet in Servers xml
Insert picture description here
3. Open servlet.xml and find the one with the duplicate name, then Tomact can start normally
Insert picture description here

Published 9 original articles · Likes0 · Visits 797

Guess you like

Origin blog.csdn.net/Tao_Yuanqiang/article/details/90383839