Context initialization failed- could not instantiate RegionFactory
I've updated hibernate jar to hibernate 3.3.2. and now i'm getting following error.
can anyone help me , what is wrong with code for new hibernate version.
12:31:08,031 ERROR ContextLoader,main:213 - Context initialization failed
Error creating bean with name 'auditTrailSessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]
Re: Context initialization failed- could not instantiate RegionFactory
I was facing the similar error. In my case oscache.jar was missing in the classpath.