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.