Announcement Announcement Module
Collapse
No announcement yet.
could not instantiate CacheProvider Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • could not instantiate CacheProvider

    Hi!

    Someone knows about this error

    Code:
    2005-05-06 14:22:37,515 INFO  [net.sf.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: false
    2005-05-06 14:22:37,515 INFO  [net.sf.hibernate.cfg.SettingsFactory] Query language substitutions: {no='N', true=1, yes='Y', false=0}
    2005-05-06 14:22:37,515 INFO  [net.sf.hibernate.cfg.SettingsFactory] cache provider: net.sf.hibernate.cache.EhCacheProvider
    2005-05-06 14:22:37,515 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [dataSource,sessionFactory,enderecoDao]; root of BeanFactory hierarchy}
    2005-05-06 14:22:37,515 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException in method: public abstract void javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveException,javax.ejb.EJBException, causedBy:
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [META-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is net.sf.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.hibernate.cache.EhCacheProvider
    net.sf.hibernate.HibernateException: could not instantiate CacheProvider: net.sf.hibernate.cache.EhCacheProvider
    	at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:134)
    What am I possible doing wrong??


    Thanks

  • #2
    Do you have EHCache on the classpath?

    Rob

    Comment

    Working...
    X