1、首先 找到tomcat的server.xml文件,
2、找到<Host></Host>,在原来<Context> 中添加 reloadable="false" crossContext="true" 两个属性,保存。