Hello,
I work with Eclipse Juno, weblogic 10.3.6, maven, spring mvc 3.2.6 and hibernate 4, oracle.
I wrote this bean in my hibernate-context.xml
Code:
<bean id="transactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager"
p:sessionFactory-ref="sessionFactory" ></bean>
</beans>
hibernate-context.xml deploy right in tomcat 7.0
But when I deploy in weblogic 10.3.6. I get the error
Code:
Caused By: java.lang.ClassNotFoundException: org.springframework.orm.hibernate4.HibernateTransactionManager
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Truncated. see log file for complete stacktrace
I want to define a transaction manager to work with Oracle
How can I define transaction manager hibernate in weblogic server?
Thanks in advance
Carlota Vina