一、错误
java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter
java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet
二、分析
出现这个问题,是因为工程的jar包未被部署。
三、解决
IDEA菜单依次操作 File >Project Structure >Artifacts >Output Layout >Available Elements