[Solved] Multiple Contexts have a path of ”/xxx”

Resolve multiple contexts have a path of ”/xxx ” error

Scenario description

There was originally a dynamic web project project in Eclipse: myjspproject. There is no managed Tomcat. Later, modify the code of tomcat, delete the server folder in eclipse, redeploy the server, and then deploy it to Tomcat. At this time, Tomcat reports an error: multiple contexts have a path of “/ spring mvc001”, as shown below:

Error reason

Myjspproject already exists in Tomcat; However, the path value of the context of the regenerated project myjspproject is still myjspproject, resulting in a conflict.

Solution:

Please follow the steps below to modify.

Change the path to/myjspproject2 and save the configuration.

Similar Posts: