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
2. Find the servlet in Servers xml
3. Open servlet.xml and find the one with the duplicate name, then Tomact can start normally