Mar 10th, 2011, 03:28 PM
i am getting this error while running the program.pls help to solve this problem
WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Program%20Files%20(x86)/NetBeans%206.8/java3/modules/ext/hibernate/ehcache-1.2.3.jar!/ehcache-failsafe.xml
org.hibernate.MappingException: could not instantiate id generator
Mar 11th, 2011, 02:26 AM
It looks like you are using caches in your application but you haven't configured the ehcache xml correctly (or at all).
It is then searching the classpath for one and is picking up the one configured in hibernate instead.
A bit more info about how your application is structured might help.
Is there anything useful/relevant on google when you search for the error?
Last edited by opticyclic; Mar 11th, 2011 at 12:28 PM.