Details
-
Type:
Sub-task
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.0
-
Fix Version/s: 2.2.1
-
Component/s: Installation
-
Labels:None
Description
Seems that Compass is not compatible with Hibernate 4. Since it's no longer maintained, it seems logical to switch to Hibernate Search.
testUserSearch(org.appfuse.dao.UserDaoTest): Error creating bean with name 'org.appfuse.dao.UserDaoTest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.compass.gps.CompassGps org.appfuse.dao.UserDaoTest.compassGps; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compassGps' defined in class path resource [applicationContext-dao.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/impl/SessionFactoryImpl
Replaced Compass-Search by Hibernate-Search.
https://github.com/appfuse/appfuse/commit/6c9d045209cbc3ac74cbf080c1496a5048ba9e32