Eclipse下tomcat部署项目的两个基本配置 1)在tomcat属性中选择点击switchLocation 选择/Server下的路径2)勾选上Server Options的以下选项: Publish module contexts to separte XML files.