已经配置了 servletmapping, 但 IDEA 提示 servlet should have a mapping, 如何解决?

打开 IDEAProject Structure 并添加 web.xml 的位置:

{% img /images/idea-web-xml.png %}