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

Samebug tips

  1. ,
    Expert tip

    You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

  2. ,
    Expert tip

    This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

Solutions on the web

via Terracotta Project Issue Tracker by Tim Eck, 2 years ago
via Terracotta Project Issue Tracker by Tim Eck, 1 year ago
java.lang.ClassNotFoundException: org.terracotta.cache.CacheConfigFactory	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)	at org.terracotta.cache.evictor.EvictionStatistics.(EvictionStatistics.java:25)	at org.terracotta.cache.impl.DistributedCacheImpl.initializeOnLoad(DistributedCacheImpl.java:89)	at org.terracotta.cache.impl.DistributedCacheImpl.(DistributedCacheImpl.java:69)	at org.terracotta.modules.hibernatecache.clustered.CacheStoreDso.(CacheStoreDso.java:19)	at org.terracotta.modules.hibernatecache.clustered.TerracottaHibernateCacheImpl.(TerracottaHibernateCacheImpl.java:56)	at org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newCache(ComponentFactoryImpl.java:37)	at org.terracotta.modules.hibernatecache.PlainTerracottaHibernateCacheProvider.buildCacheInternal(PlainTerracottaHibernateCacheProvider.java:27)	at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.buildCache(BaseTerracottaCacheProvider.java:66)	at org.terracotta.modules.hibernatecache.BootstrapCacheProvider.buildCache(BootstrapCacheProvider.java:76)	at org.terracotta.hibernate.TerracottaHibernateCacheProvider.buildCache(TerracottaHibernateCacheProvider.java:40)	at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.buildEntityRegion(RegionFactoryCacheProviderBridge.java:96)	at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:261)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)	at org.terracotta.hibernate.tests.HibernateUtil.getSessionFactory(HibernateUtil.java:34)	at org.terracotta.hibernate.tests.Client1.run(Client1.java:29)	at org.terracotta.hibernate.tests.ClientBase.execute(ClientBase.java:18)	at org.terracotta.hibernate.tests.Client1.main(Client1.java:22)