发布eclipse的工程到tomcat方法 在server.xml中加入以下配置: <Context docBase="d:\dev\src\main\webapp" path="/mywebapp" reloadable="true"/>