IDEA SpringMVC web.xml报错 org.springframework.web.servlet.DispatcherServlet' is not assignable to javax.servlet.Servlet
解决方法:ProjectStructure-Dependencies-右上角绿色小加号-添加Tomcat的包即可
![image-20210330234424862](https://i-blog.csdnimg.cn/blog_migrate/164a2ce463b1503d9950671e64fd031d.png)
IDEA SpringMVC web.xml报错 org.springframework.web.servlet.DispatcherServlet' is not assignable to javax.servlet.Servlet
解决方法:ProjectStructure-Dependencies-右上角绿色小加号-添加Tomcat的包即可