Conflict between the same tomcat and different dynamic web projects in eclipse
动态web
Tags: 配置
, ,tomcat
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):
How to modify the root directory:
- Right-click the dynamic project and select
属性
- Select
Web Project Settings
, modifyContext root
it can be discovered:
- tomcat management module through the
server.xml
realization 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