1、检查working directory目录是否指到module下。 检查是否设置web.xml文件 附别人的demo地址https://www.cnblogs.com/fangke/p/8552000.html