修改tomcat\conf\server.xml中你的工程上下文环境
context reload=true就可以了