spring - Error : org/springframework/transaction/interceptor/TransactionInterceptor -


i have problem in spring configuration file application-context.xml please help!! receive error

java.lang.noclassdeffounderror: org/springframework/transaction/interceptor/transactioninterceptor  	at org.springframework.transaction.config.annotationdrivenbeandefinitionparser$aopautoproxyconfigurer.configureautoproxycreator(annotationdrivenbeandefinitionparser.java:127)  	at org.springframework.transaction.config.annotationdrivenbeandefinitionparser.parse(annotationdrivenbeandefinitionparser.java:84)  	at org.springframework.beans.factory.xml.namespacehandlersupport.parse(namespacehandlersupport.java:74)  	at org.springframework.ide.eclipse.beans.core.internal.model.namespaces.delegatingnamespacehandlerresolver$elementtrackingnamespacehandler.parse(delegatingnamespacehandlerresolver.java:177)  	at org.springframework.beans.factory.xml.beandefinitionparserdelegate.parsecustomelement(beandefinitionparserdelegate.java:1424)  	at org.springframework.ide.eclipse.beans.core.internal.model.beansconfig$errorsuppressingbeandefinitionparserdelegate.parsecustomelement(beansconfig.java:1420)  	at org.springframework.beans.factory.xml.beandefinitionparserdelegate.parsecustomelement(beandefinitionparserdelegate.java:1414)  	at org.springframework.beans.factory.xml.defaultbeandefinitiondocumentreader.parsebeandefinitions(defaultbeandefinitiondocumentreader.java:187)  	at org.springframework.ide.eclipse.beans.core.internal.model.beansconfig$toolingfriendlybeandefinitiondocumentreader.doregisterbeandefinitions(beansconfig.java:1350)  	at org.springframework.beans.factory.xml.defaultbeandefinitiondocumentreader.registerbeandefinitions(defaultbeandefinitiondocumentreader.java:110)  	at org.springframework.beans.factory.xml.xmlbeandefinitionreader.registerbeandefinitions(xmlbeandefinitionreader.java:508)  	at org.springframework.ide.eclipse.beans.core.internal.model.beansconfig$2.registerbeandefinitions(beansconfig.java:404)  	at org.springframework.beans.factory.xml.xmlbeandefinitionreader.doloadbeandefinitions(xmlbeandefinitionreader.java:391)  	at org.springframework.beans.factory.xml.xmlbeandefinitionreader.loadbeandefinitions(xmlbeandefinitionreader.java:335)  	at org.springframework.ide.eclipse.beans.core.internal.model.beansconfig$2.loadbeandefinitions(beansconfig.java:388)  	at org.springframework.beans.factory.xml.xmlbeandefinitionreader.loadbeandefinitions(xmlbeandefinitionreader.java:303)  	at org.springframework.ide.eclipse.beans.core.internal.model.beansconfig$3.call(beansconfig.java:447)  	at org.springframework.ide.eclipse.beans.core.internal.model.beansconfig$3.call(beansconfig.java:1)  	at java.util.concurrent.futuretask.run(unknown source)  	at java.util.concurrent.executors$runnableadapter.call(unknown source)  	at java.util.concurrent.futuretask.run(unknown source)  	at java.util.concurrent.threadpoolexecutor.runworker(unknown source)  	at java.util.concurrent.threadpoolexecutor$worker.run(unknown source)  	at java.lang.thread.run(unknown source)

this configuration file application-context.xml

<?xml version="1.0" encoding="utf-8"?>  <beans xmlns="http://www.springframework.org/schema/beans"  	xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"  	xmlns:aop="http://www.springframework.org/schema/aop"  	xmlns:context="http://www.springframework.org/schema/context"  	xmlns:tx="http://www.springframework.org/schema/tx"  	xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd  		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd  		http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.1.xsd  		http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.1.xsd">    		     <bean id="datasource" class="org.apache.commons.dbcp.basicdatasource">        <property name="driverclassname" value="com.mysql.jdbc.driver" />        <property name="url" value="jdbc:mysql://localhost:3306/bd_ao" />        <property name="username" value="root" />        <property name="password" value="root" />     </bean>          <bean id="sessionfactoy" class="org.springframework.orm.hibernate3.annotation.annotationsessionfactorybean">     		<property name="datasource" ref="datasource"/>     		<property name="annotatedclasses">     			<list>     				<value>ao.medasys.ma.entities.boncommande</value>     				<value>ao.medasys.ma.entities.bonlivraison</value>     				<value>ao.medasys.ma.entities.candidature</value>     				<value>ao.medasys.ma.entities.caution</value>     				<value>ao.medasys.ma.entities.client</value>     				<value>ao.medasys.ma.entities.equipetravail</value>     				<value>ao.medasys.ma.entities.facture</value>     				<value>ao.medasys.ma.entities.fournisseur</value>     				<value>ao.medasys.ma.entities.marche</value>     				<value>ao.medasys.ma.entities.membre</value>     				<value>ao.medasys.ma.entities.produit</value>     				<value>ao.medasys.ma.entities.ville</value>     			</list>     		</property>     		<property name="hibernateproperties">     			<props>              	<prop key="hibernate.dialect">org.hibernate.dialect.mysqldialect</prop>          	</props>     		</property>     </bean>          <bean id="transactionmanager" class="org.springframework.orm.hibernate3.hibernatetransactionmanager">     		<property name="sessionfactory" ref="sessionfactoy"></property>     </bean>          <tx:annotation-driven transaction-manager="transactionmanager" />     <context:annotation-config/>     <context:component-scan base-package="ao.medasys.ma.entities"></context:component-scan>         </beans>

i have error in line !!

<tx:annotation-driven transaction-manager="transactionmanager" />
have jar files in project work spring 4 , hibernate 3 !


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -