Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox+Spring+Hibernate
Equinox+Spring+Hibernate [message #677701] Thu, 09 June 2011 07:59
Jose Hernandez is currently offline Jose HernandezFriend
Messages: 1
Registered: June 2011
Junior Member
Hello!

I am integrating Equinox with Spring DM and also JDBC. It runs!
However I would like to add Hibernate. But when I try it, an error occurs. If Hibernate is not integrated in Spring the error says java.lang.ClassNotFoundException: org.dom4j.DocumentException in line Configuration cfg = new Configuration(); But I have in the classpath dom4j jar.

Else if I use Spring+Hibernate the error is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.orm.hibernate3.LocalSessionFactoryBean] for bean with name 'sessionFactory' defined in class path resource [service/service-dao.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org.springframework.orm.hibernate3.LocalSessionFactoryBean not found from bundle [ZBGWTApp (ZBGWTApp;singleton:=true)]
I do not know what does it happen? I import/export the packages. Could someone help me?Or could someone tell me a tutorial/manual to integrate it on OSGi Equinox?

Thanks!
Previous Topic:Setup target platform for equinox
Next Topic:JasperWave - completely new Eclipse-based designer for JasperReports
Goto Forum:
  


Current Time: Fri Apr 26 04:48:35 GMT 2024

Powered by FUDForum. Page generated in 0.02834 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top