idea中web.xml报错 Servlet should have a mapping
配置springmvc时web.xml报错,错误代码如图(随便找的,我自己的已经解决了_),实际mapping已经写了,看了csdn和Stack Overflow都有解释但比较麻烦,实测将webapp整个目录删掉重新再写一遍既可。应该是idea的问题。

另外一种错误的可能参照下面的文章解决。
https://blog.csdn.net/haerxiong/article/details/55666872

相关文章:

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