Idea 添加完项目以后自动生成的web.xml报错 'org.springframework.web.servlet.DispatcherServlet' is not assignable to 'javax.servlet.Servlet时间:2023-03-09 18:46:45 解决方法:Project Structure - Modules - 你的项目 - Dependencies 添加Tomcat library