首页 > 技术文章 > Idea 添加完项目以后自动生成的web.xml报错 'org.springframework.web.servlet.DispatcherServlet' is not assignable to 'javax.servlet.Servlet

maximo 2017-06-09 11:05 原文

 

解决方法:Project Structure - Modules - 你的项目  - Dependencies

添加Tomcat library

 

推荐阅读