Announcement Announcement Module
No announcement yet.
Hibernating-save Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hibernating-save

    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

  • #2
    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, 12:28 PM.