Try to determine how each of the two bundles (spring framework orm and hibernate engine) are getting access to the javax.transaction package. They look like they are getting it from two different sources. You need to figure out why and eliminate it.

-> richard

On 5/10/12 12:06 , [email protected] wrote:
Hi

i am getting this error
java.lang.LinkageError: loader constraint violation: when resolving
interface method
"org.hibernate.engine.SessionFactoryImplementor.getTransactionManager()Ljavax/transaction/TransactionManager;"
the class loader (instance of
org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the
current class, org/springframework/orm/hibernate3/SessionFactoryUtils, and
the class loader (instance of
org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for
resolved class, org/hibernate/engine/SessionFactoryImplementor, have
different Class objects for the type javax/transaction/TransactionManager
used in the signature

--
View this message in context: 
http://apache-felix.18485.n6.nabble.com/java-lang-LinkageError-tp4966033.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to