没有这个文件会报错误的: 1、 2、在Maven下面设置这个: src/main/webapp OK生成了 转载于:https://www.cnblogs.com/suiyisuixing/p/7468416.html