开发过程中,保存,文件Tomcat 根据classes改变 重新加载。 方法: 在tomcat conf 目录下的 context.xml 加上<Context reloadable="true"> 即可 !