step1、进入tomcat的bin目录,停止tomcat服务 #shutdown.sh step2、#进入tomcat的work目录,删除work目录里面的全部文件。 step3、启动tomcat服务 #startup.sh