Error Configuring application Listener of Class Org.springframework.web.context.

Source: Internet
Author: User
Tags jboss

1.java.lang.noclassdeffounderror:org/objectweb/asm/classvisitor
Missing Asm-3.3.jar
2.java.lang.noclassdeffounderror:org/objectweb/asm/commons/emptyvisitor
Missing Asm-commons-3.3.jar
3.java.lang.classnotfoundexception:org.springframework.web.util.log4jconfiglistener
Missing Spring-web-3.2.3.release.jar
4.java.lang.classnotfoundexception:org.springframework.web.context.contextloaderlistener
Missing Spring-web-3.2.3.release.jar
5.java.lang.classnotfoundexception:org.springframework.web.context.request.requestcontextlistener
Missing Spring-web-3.2.3.release.jar
6.java.lang.classnotfoundexception:org.springframework.web.util.introspectorcleanuplistener
Missing Spring-web-3.2.3.release.jar
7.java.lang.noclassdeffounderror:org/springframework/context/configurableapplicationcontext
Missing Spring-context-3.2.3.release.jar
8.Caused by:java.lang.ClassNotFoundException:org.springframework.beans.FatalBeanException
Missing Spring-beans-3.2.3.release.jar
9.Caused by:java.lang.ClassNotFoundException:org.springframework.core.NestedRuntimeException
Missing Spring-core-3.2.3.release.jar
10.java.lang.noclassdeffounderror:org/apache/log4j/propertyconfigurator
Missing Log4j-1.2.16.jar
Org.springframework.beans.factory.parsing.BeanDefinitionParsingException:Configuration problem:unable to Locate Spring Namespacehandler for XML schema namespace [http://www.springframework.org/schema/tx]
Missing 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
Missing Aopalliance-1.0.jar
Org.springframework.beans.factory.parsing.BeanDefinitionParsingException:Configuration problem:unable to Locate Spring Namespacehandler for XML schema namespace [HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP]
Missing Spring-aop-3.2.3.release.jar
14.java.lang.noclassdeffounderror:org/springframework/expression/propertyaccessor
Missing Spring-expression-3.2.3.release.jar
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 beans with Name ' Org.springframework.aop.support.defaultbeanfactorypointcutadvisor#0 ': Cannot resolve reference to bean ' pointcut ' While setting beans property ' pointcut '; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' pointcut ': Instantiation of Bean failed; Nested exception is java.lang.noclassdeffounderror:org/aspectj/weaver/reflect/reflectionworld$ Reflectionworldexception
Lack of Spring-aspects-3.2.3.release.jar, Aspectjweaver.jar, Aspectjrt.jar
Org.springframework.beans.factory.CannotLoadBeanClassException:Cannot Find class [ Org.springframework.orm.hibernate4.LocalSessionFactoryBean] for beans with the name ' Sessionfactory ' defined in class path resource [Resource/applicationcontext.xml]; Nested exception is Java.lang.ClassNotFoundException:org.springframework.orm.hibernate4.LocalSessionFactoryBean
Missing Spring-orm-3.2.3.release.jar
Org.springframework.beans.factory.BeanCreationException:Error creating Bean with the 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
Missing Hibernate-commons-annotations-4.0.2.final.jar
Org.springframework.beans.factory.BeanCreationException:Error creating Bean with the name ' sessionfactory ' defined in Class path resource [Resource/applicationcontext.xml]: Invocation of Init method failed; Nested exception is java.lang.noclassdeffounderror:org/dom4j/documentexception
Missing 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
Missing Jboss-logging-3.1.1.ga.jar
Org.springframework.beans.factory.BeanCreationException:Error creating Bean with Name ' sessionfactory ' defined in C Lass path resource [Resource/applicationcontext.xml]: Invocation of Init method failed; Nested exception is java.lang.noclassdeffounderror:javax/transaction/systemexception
Missing Jboss-transaction-api_1.1_spec-1.0.1.final.jar
Org.springframework.beans.factory.BeanCreationException:Error creating Bean with Name ' sessionfactory ' defined in C Lass path resource [Resource/applicationcontext.xml]: Invocation of Init method failed; Nested exception is java.lang.noclassdeffounderror:javax/persistence/entity
Missing Hibernate-jpa-2.0-api-1.0.1.final.jar
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 was used in the Application, but property hibernate.cache.region.factory_class are not given, please either disable second level cache or S Et correct region factory class name to property Hibernate.cache.region.factory_class (and make sure the second level Cach E provider, Hibernate-infinispan, for example, was available in the classpath).
Hibernate.cfg.xml to be added in the configuration:
<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>
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
Missing Slf4j-api-1.6.1.jar
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
Missing Spring-jdbc-3.2.3.release.jar
Org.springframework.beans.factory.CannotLoadBeanClassException:Cannot Find class [ Com.cjjt.dao.impl.BaseDaoImpl] for beans with the name ' Basedao ' defined in class path resource [Resource/applicationcontext.x ML]; Nested exception is Java.lang.ClassNotFoundException:com.cjjt.dao.impl.BaseDaoImpl
26.Caused By:cannot Locate the chosen objectfactory implementation:spring-[Unknown location]
Missing 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
Problem and workaround: missing Commons-logging.jar, need to be added in Lib.
29.noclassdeffounderror:org/logicalcobwebs/cglib/core/namingpolicy
Problem and Workaround: The default HIBERNATE4 connection pool jar package is older Proxool-0.8.3.jar. Need to switch to Proxool-0.9.1.jar and Proxool-cglib.jar.
30.org.logicalcobwebs.proxool.shutdownhook-problem calling "Get cause" on illegalstateexception.
Problem and Workaround: The default HIBERNATE4 connection pool jar package is older Proxool-0.8.3.jar. Need to switch to Proxool-0.9.1.jar and Proxool-cglib.jar.

Error Configuring application Listener of Class Org.springframework.web.context.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.