JBoss Community

Hibernate Tools + Ehcache

created by Krasimir Goutcev in JBoss Tools - View the full discussion

Hi,

I have hibernate.cfg.xml like this:

...

....

<property name="hibernate.cache.use_query_cache">true</property>

  <property name="hibernate.cache.use_second_level_cache">true</property>

  <property name="hibernate.cache.region.factory_class">net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory</property>

  <property name="hibernate.cache.provider_configuration_file_resource_path">/ehcache2.xml</property>

..

...

 

 

 

When i try to create connection with Hibernate Tools =>

 

java.lang.NoSuchMethodError: net.sf.ehcache.Ehcache.getCacheConfiguration()Lnet/sf/ehcache/config/CacheConfiguration;

 

 

Any help is welcome.

 

Regards.

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community