Quantcast
Viewing all articles
Browse latest Browse all 179681

Error Integrating Gemfire 7.0.1 with Hibernate 4.x as L2 cache

Hi,

 

I am trying to set up Hibernate 4.3.0 with Gemfire 7.0.1

 

1-

<prop key="hibernate.cache.region.factory_class">com.gemstone.gemfire.modules.hibernate.GemFireRegionFactory</prop>

 

2 - jars :

gemfire.jar

gemfire-modules-hibernate-7.0.1.jar

hibernate-core-4.3.0.Beta1.jar

hibernate-entitymanager-4.3.0.Beta1.jar

hibernate-jpa-2.1-api-1.0.0.Draft-16.jar

 

 

I got an error when I deploy :

 

INFO   | jvm 1    | 2013/04/26 17:28:12 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/webmvc-context.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cache/EntityRegion
............................................
INFO   | jvm 1    | 2013/04/26 17:28:12 | Caused by: java.lang.NoClassDefFoundError: org/hibernate/cache/EntityRegion

 

It seems to me  the same problem interfacing Hibernate 4 and EhCache according to : http://www.javacraft.org/2012/03/migrate-to-hibernate-4-ehcache.html

 

Any help will be appreciate

 

Thanks


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>