打包方式是war目录方式不对缺少web.xml(可以查看src下缺少web.xml) 项目(右键)Java EE tools -->Geaerate Deployment Descriptor Stub