tomcat安装目录下面,conf/context.xml 对<Context>添加 reloadable="true"属性即可,即<Context reloadable="true">重启tomcat!