Error configuring application listener of class org.springframework.web.cont


解决方案 1:
 
1. 打开工程属性对话框,到Deployment Assembly页面,点击Add
 
2. 选择Jave Build Path Entries
3. 把程序用于的Library加入进来
4. 重新运行Server应该看不到这个问题了
 
 ( 解决方案 1是网上的答案,原链接:https://blog.csdn.net/hunhun1122/article/details/80027352)
 
解决方案 2:
解决方案 1并不适合我当下的情况,并且我的eclipse里并没有Deployment Assembly选项)
(我的情况中Maven Dependencies是存在的)所以如果Maven Dependencies存在,但仍然报
Error configuring application listener of class org.springframework.web.cont异常,那就把Maven Dependencies  Remove掉

,然后右键项目在Maven选项中Update Project Configuration,再运行项目后不会再出现Error configuring application listener of class org.springframework.web.cont

错误。

之前为了解决这个问题,我把项目和JBoss(Tomcat也一样)的缓存都clean了一遍。

我这边项目之所以会出现这种情况有很大的可能是因为我之前对电脑进行了物理关机的操作。


 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



猜您在找 Error configuring application listener of class org.springframework.web.context.ContextLoaderListener spring配置问题:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener 使用Maven构建javaWeb项目时,启动tomcat出错:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.conte Exception sending context initialized event to listener instance of class org.springframework.web.co springmvc开始是遇到的Error instantiating servlet class org.springframework.web.servlet.DispatcherServlet.class问题 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/web/servlet/config/ 异常将上下文初始化事件发送到类的侦听器实例.[org.springframework.web.context.ContextLoaderListener] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class p Idea下maven项目启动报错error configuring application springmvc上传文件报错org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.multipart.MultipartFile] Error creating bean with name 'persistenceExceptionTranslationPostProcessor' defined in class path resource [org/springframework/boot/autoconfigure/dao/PersistenceExceptionTranslationAutoConfiguration
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM