IDEA ClassNotFoundException: org.springframework.web.context.ContextLoaderListener报错

问题描述: IDEA中启动tomcat,报错ContextLoaderListener找不到 解决问题: 因为打包时候没有将引用资源打包出来,所以需要手动添加资源文件到输出包中。 IDEA中的操作: 在IDEA中点击File > Project Structure > Artifacts > 在右侧Output Layout右击项目名,选择Put into Output Root 运行效果: 补充
相关文章
相关标签/搜索