idea 的 xml文件 出现 check if all servlet have mappings

143 阅读1分钟

如图错误所示:
在这里插入图片描述
web.xml文件出现很多的爆红,这其实是我们配置的web.cml位置错误。
在这里插入图片描述

我的本来应该是webRoot下边的web.xml,但是我配置的是web下边的web.xml,导致出错。修改一下就可以了。