idea中web.xml明明配了servlet-mapping却报错 Servlet should have a mapping???

问题:

代码如图:
idea中web.xml明明配了servlet-mapping却报错 Servlet should have a mapping???
讲道理咱也没瞎,怎么看都不是代码的问题。

解决方法:

Ctrl shift alt s 打开项目设置面板:
idea中web.xml明明配了servlet-mapping却报错 Servlet should have a mapping???
idea中web.xml明明配了servlet-mapping却报错 Servlet should have a mapping???
idea中web.xml明明配了servlet-mapping却报错 Servlet should have a mapping???
ok即可。
idea中web.xml明明配了servlet-mapping却报错 Servlet should have a mapping???
所以证明了不是我瞎是idea瞎了。

相关文章:

  • 2022-01-09
  • 2021-08-14
  • 2021-11-16
  • 2021-11-20
猜你喜欢
  • 2021-12-06
  • 2021-10-06
  • 2021-06-26
相关资源
相似解决方案