Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jboss.org by Unknown author, 1 year ago
org.hibernate.cache.NoCacheRegionFactoryAvailableException: Second-level cache is used in the application, but property hibernate.cache.region.factory_class is not given, please either disable second level cache or set correct region factory class name to property hibernate.cache.region.factory_class (and make sure the second level cache provider, hibernate-infinispan, for example, is available in the classpath).	at org.hibernate.cache.internal.NoCachingRegionFactory.buildTimestampsRegion(NoCachingRegionFactory.java:87)	at org.hibernate.cache.spi.UpdateTimestampsCache.(UpdateTimestampsCache.java:63)	at org.hibernate.internal.CacheImpl.(CacheImpl.java:72)	at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:40)	at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:35)	at org.hibernate.service.internal.SessionFactoryServiceRegistryImpl.initiateService(SessionFactoryServiceRegistryImpl.java:91)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:176)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:150)	at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)	at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:262)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1746)	at com.myapp.core.hibernate.HibernateUtil.(HibernateUtil.java:75)	at com.myapp.MyappListener.contextInitialized(MyappListener.java:74)	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89)	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:724)