Conflict resolution of different modules under the same tomcat server of dynamic web project in eclipse

Conflict between the same tomcat and different dynamic web projects in eclipse

动态webTags: 配置, ,tomcat

Screenshot

Multiple website modules can be run under the same server, and each module corresponds to a root path, which cannot be the same; if they are the same, you need to remove the conflicting module (moudle):
Insert picture description here

How to modify the root directory:
  1. Right-click the dynamic project and select 属性
  2. Select Web Project Settings, modifyContext root
it can be discovered:
  • tomcat management module through the server.xmlrealization of
  • When running a dynamic web project, will create a moudle, restart the server, when found 相同根路径冲突, the project fails to start. So to summarize: before running a dynamic web project, it is best to clean up all the moudles

Guess you like

Origin blog.csdn.net/qq_43341057/article/details/113101268