Org.springframework.beans.factory.BeanDefinitionStoreException:Unexpected exception parsing XML document from file [/ Home/zhangjinhua/java/javaee/baidumessagetest/build/classes/applicationcontext-common.xml]; Nested exception is java.lang.noclassdeffounderror:org/springframework/transaction/interceptor/ Transactioninterceptorat Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions ( xmlbeandefinitionreader.java:414) at Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (Xmlbeandefinitionreader.java : 336) at Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions ( xmlbeandefinitionreader.java:304) at Org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions ( abstractbeandefinitionreader.java:181) at Org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions ( abstractbeandefinitionreader.java:217) at Org.springframework.beans.factory.support.AbstracTbeandefinitionreader.loadbeandefinitions (abstractbeandefinitionreader.java:188) at Org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions ( xmlwebapplicationcontext.java:125) at Org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions ( xmlwebapplicationcontext.java:94) at Org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory ( abstractrefreshableapplicationcontext.java:129) at Org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory ( abstractapplicationcontext.java:537) at Org.springframework.context.support.AbstractApplicationContext.refresh ( abstractapplicationcontext.java:452) at Org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext (contextloader.java:403) At Org.springframework.web.context.ContextLoader.initWebApplicationContext (contextloader.java:306) at Org.springframework.web.context.ContextLoaderListener.contextInitialized (Contextloaderlistener.java:106) at Org.mortbay.jetty.handler.ContextHandler.startContext (contexthandler.java:549) at Org.mortbay.jetty.servlet.Context.startContext (context.java:136) at Org.mortbay.jetty.webapp.WebAppContext.startContext (webappcontext.java:1282) at Org.mortbay.jetty.handler.ContextHandler.doStart (contexthandler.java:518) at Org.mortbay.jetty.webapp.WebAppContext.doStart (webappcontext.java:499) at Org.mortbay.component.AbstractLifeCycle.start (ABSTRACTLIFECYCLE.JAVA:50) at Org.mortbay.jetty.handler.HandlerWrapper.doStart (handlerwrapper.java:130) at Org.mortbay.jetty.Server.doStart ( server.java:224) at Org.mortbay.component.AbstractLifeCycle.start (abstractlifecycle.java:50) at Runjettyrun. Bootstrap.main (bootstrap.java:97)
caused By:java.lang.noclassdeffounderror:org/springframework/transaction/interceptor/transactioninterceptorat Org.springframework.transaction.config.TxAdviceBeanDefinitionParser.getBeanClass ( TXADVICEBEANDEFINITIONPARSER.JAVA:71) at Org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal ( ABSTRACTSINGLEBEANDEFINITIONPARSER.JAVA:66) at Org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse (ABSTRACTBEANDEFINITIONPARSER.JAVA:60) At Org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse (namespacehandlersupport.java:74) at Org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement ( beandefinitionparserdelegate.java:1427) at Org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement ( beandefinitionparserdelegate.java:1417) at Org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions ( defaultbeandefinitiondocumentreader.java:174) at Org.springframework. Beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions ( defaultbeandefinitiondocumentreader.java:144) at Org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions ( DEFAULTBEANDEFINITIONDOCUMENTREADER.JAVA:100) at Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions ( xmlbeandefinitionreader.java:510) at Org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions ( xmlbeandefinitionreader.java:392) ... More
caused By:java.lang.ClassNotFoundException:org.springframework.transaction.interceptor.TransactionInterceptorat Runjettyrun. Projectclassloader.loadclass (projectclassloader.java:91) ... More
Baidu for a long time, the last found is less aopalliance-1.0.jar bag.
Java.lang.ClassNotFoundException:org.springframework.transaction.interceptor.TransactionInterceptor