没人回答,我就自己采纳自己吧
应该是 stop 之后才能 undeploy 吧
现在终于知道怎么回事了,跟tomcat版本有关,更换tomcat版本后就没这种错误了
是不是server.xml中配置了reloadable="false"?