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

 

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

添加Tomcat library

 

posted @ 2017-06-09 11:05  随风如梦  阅读(13013)  评论(0编辑  收藏  举报