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

1.java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor 
缺少asm-3.3.jar 
2.java.lang.NoClassDefFoundError: org/objectweb/asm/commons/EmptyVisitor 
缺少asm-commons-3.3.jar 
3.java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener 
缺少spring-web-3.2.3.RELEASE.jar 
4.java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 
缺少spring-web-3.2.3.RELEASE.jar 
5.java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener 
缺少spring-web-3.2.3.RELEASE.jar 
6.java.lang.ClassNotFoundException: org.springframework.web.util.IntrospectorCleanupListener 
缺少spring-web-3.2.3.RELEASE.jar 
7.java.lang.NoClassDefFoundError: org/springframework/context/ConfigurableApplicationContext 
缺少spring-context-3.2.3.RELEASE.jar 
8.Caused by: java.lang.ClassNotFoundException: org.springframework.beans.FatalBeanException 
缺少spring-beans-3.2.3.RELEASE.jar 
9.Caused by: java.lang.ClassNotFoundException: org.springframework.core.NestedRuntimeException 
缺少spring-core-3.2.3.RELEASE.jar 
10.java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator 
缺少log4j-1.2.16.jar 
11. org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/tx] 
缺少spring-tx-3.2.3.RELEASE.jar 
12.org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [resource/applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor 
缺少aopalliance-1.0.jar 
13.   org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/aop] 
缺少spring-aop-3.2.3.RELEASE.jar 
14.java.lang.NoClassDefFoundError: org/springframework/expression/PropertyAccessor 
缺少spring-expression-3.2.3.RELEASE.jar 
15. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource‘ defined in class path resource [resource/applicationContext.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0‘: Cannot resolve reference to bean ‘pointcut‘ while setting bean property ‘pointcut‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pointcut‘: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException 
缺少spring-aspects-3.2.3.RELEASE.jar、aspectjweaver.jar、aspectjrt.jar 
16. org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.orm.hibernate4.LocalSessionFactoryBean] for bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate4.LocalSessionFactoryBean 
缺少spring-orm-3.2.3.RELEASE.jar 
17. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/ReflectionManager 
缺少hibernate-commons-annotations-4.0.2.Final.jar 
18. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/dom4j/DocumentException 
缺少dom4j-1.6.1.jar 
19.org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/jboss/logging/BasicLogger 
缺少jboss-logging-3.1.1.GA.jar 
20.   org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/SystemException 
缺少jboss-transaction-api_1.1_spec-1.0.1.Final.jar 
21.   org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/persistence/Entity 
缺少hibernate-jpa-2.0-api-1.0.1.Final.jar 
22. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.cache.NoCacheRegionFactoryAvailableException: Second-level cache is used in the application, but property hibernate.cache.region.factory_class is not given, please either disable second level cache or set correct region factory class name to property hibernate.cache.region.factory_class (and make sure the second level cache provider, hibernate-infinispan, for example, is available in the classpath). 
hibernate.cfg.xml配置中需添加: 
<property name="hibernate.cache.use_second_level_cache">true</property> 
<property name="hibernate.cache.provider_class">net.sf.ehcache.hibernate.EhCacheProvider</property> 
<property name="hibernate.cache.region.factory_class">org.hibernate.cache.ehcache.EhCacheRegionFactory</property>
23. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory 
缺少slf4j-api-1.6.1.jar 
24. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionManager‘ defined in class path resource [resource/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy 
缺少spring-jdbc-3.2.3.RELEASE.jar 
25. org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.cjjt.dao.impl.BaseDaoImpl] for bean with name ‘baseDao‘ defined in class path resource [resource/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.cjjt.dao.impl.BaseDaoImpl 
26.Caused by: Cannot locate the chosen ObjectFactory implementation: spring - [unknown location] 
缺少struts2-spring-plugin-2.3.15.jar 
27.org.springframework.orm.hibernate4.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 
28.java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory 
问题及解决办法:缺少commons-logging.jar,需要在lib中添加。 
29.NoClassDefFoundError: org/logicalcobwebs/cglib/core/NamingPolicy 
问题及解决办法:默认hibernate4下连接池jar包为较老的proxool-0.8.3.jar。需要换成proxool-0.9.1.jar和proxool-cglib.jar 
30.org.logicalcobwebs.proxool.ShutdownHook - Problem calling "get cause" on IllegalStateException. 
问题及解决办法:默认hibernate4下连接池jar包为较老的proxool-0.8.3.jar。需要换成proxool-0.9.1.jar和proxool-cglib.jar

时间: 2024-10-04 00:49:32

Error configuring application listener of class org.springframework.web.context.的相关文章

严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderList

最近在用idea部署war文件的时候,总是出现了部署失败的错误,刚开始并没有在意,但是现在次数越来越多了,不得不在意了,然后就在百度上搜,然后就有了各种说法 1,错误的信息是: One or more listeners failed to start. Full details will be found in the appropriate container log file 根据错误信息,说是一个listener加载失败了,失败原因请看容器log文件,我的idea配置的tomcat是自己

Eclipse运行Maven的SpringMVC项目Run on Server时出现错误:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener的问题解决

错误: 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappClassLoaderBase.

使用Maven构建javaWeb项目时,启动tomcat出错:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.conte

在初学使用maven构建javaWeb的项目的时候,启动tomcat加载时,总是提示如下错误,辛苦一番终于找到解决办法. 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderList

SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoade

创建一个干净Spring MVC用Tomcat启动之后一直显示下面这个错误,网上找了很多方法也没有解决问题,后面最终找到终极解决方案 错误信息: SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener 解决方案: 1. 打开工程属性对话框,到Deployment Assembly页面,点击Add 2. 选择Jave Build Pat

spring配置问题:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

将项目发布到tomcat时出现下面错误 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at org.apache.catalina.loader.WebappC

SpringMVC常见问题Error configuring application listener of class org.springframework.web.context.ContextLoaderListenejava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

六月 20, 2018 9:43:34 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.

Eclipse------用Tomcat运行项目后出现:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

Eclipse中Tomcat运行项目后出现: 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener 原因: 其实是你的jar文件没有同步发布到自己项目的lib目录中(如果你是用Maven进行构建的话) 解决方法: 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择Java Build Pat

idea出现Error configuring application listener of class org.springframework.web.context.ContextLoader

在IDEA中写spring mvc时出现Error configuring application listener of class org.springframework.web.context.ContextLoader的错误 其解决方法为: 版权声明:本文为CSDN博主「进阶中的非主流坛子」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明.原文链接:https://blog.csdn.net/just_now_and_future/article/de

严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

是在spring和struts整合的时候发生的,相关jar包没有部署到tomcat上. 解决方法:右键项目  propertis  -->myeclipse  -->  选择Deployment Assembly 再点击右边的Add按钮  将需要的library选中,然后重新发布一下就好了.