java.lang.NoClassDefFoundError: org/terracotta/cache/CacheConfigFactory

Terracotta Project Issue Tracker | Tim Eck | 7 years ago
  1. 0

    From Hibernate33CacheTest for revision 17918 tc-3.1 branch java.lang.NoClassDefFoundError: org/terracotta/cache/CacheConfigFactory at org.terracotta.cache.evictor.EvictionStatistics.<init>(EvictionStatistics.java:25) at org.terracotta.cache.impl.DistributedCacheImpl.initializeOnLoad(DistributedCacheImpl.java:89) at org.terracotta.cache.impl.DistributedCacheImpl.<init>(DistributedCacheImpl.java:69) at org.terracotta.modules.hibernatecache.clustered.CacheStoreDso.<init>(CacheStoreDso.java:19) at org.terracotta.modules.hibernatecache.clustered.TerracottaHibernateCacheImpl.<init>(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.<init>(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) Caused by: 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) ... 17 more

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    java.lang.NoClassDefFoundError: org/terracotta/cache/CacheConfigFactory
  2. 0

    From Hibernate33CacheTest for revision 17918 tc-3.1 branch java.lang.NoClassDefFoundError: org/terracotta/cache/CacheConfigFactory at org.terracotta.cache.evictor.EvictionStatistics.<init>(EvictionStatistics.java:25) at org.terracotta.cache.impl.DistributedCacheImpl.initializeOnLoad(DistributedCacheImpl.java:89) at org.terracotta.cache.impl.DistributedCacheImpl.<init>(DistributedCacheImpl.java:69) at org.terracotta.modules.hibernatecache.clustered.CacheStoreDso.<init>(CacheStoreDso.java:19) at org.terracotta.modules.hibernatecache.clustered.TerracottaHibernateCacheImpl.<init>(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.<init>(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) Caused by: 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) ... 17 more

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    java.lang.NoClassDefFoundError: org/terracotta/cache/CacheConfigFactory
  3. 0

    Java: Exception in thread main java.lang.NoClassDefFoundError

    tech-recipes.com | 3 months ago
    java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I get a Exception when I run a spark streaming program. looks like follow

    Stack Overflow | 2 years ago | user4281200
    java.lang.ClassNotFoundException: scala.collection.GenTraversableOnce$class

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.terracotta.cache.CacheConfigFactory

      at java.net.URLClassLoader$1.run()
    2. Java RT
      ClassLoader.loadClassInternal
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      2. java.security.AccessController.doPrivileged(Native Method)
      3. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      7. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      7 frames
    3. org.terracotta.cache
      DistributedCacheImpl.<init>
      1. org.terracotta.cache.evictor.EvictionStatistics.<init>(EvictionStatistics.java:25)
      2. org.terracotta.cache.impl.DistributedCacheImpl.initializeOnLoad(DistributedCacheImpl.java:89)
      3. org.terracotta.cache.impl.DistributedCacheImpl.<init>(DistributedCacheImpl.java:69)
      3 frames
    4. org.terracotta.modules
      BootstrapCacheProvider.buildCache
      1. org.terracotta.modules.hibernatecache.clustered.CacheStoreDso.<init>(CacheStoreDso.java:19)
      2. org.terracotta.modules.hibernatecache.clustered.TerracottaHibernateCacheImpl.<init>(TerracottaHibernateCacheImpl.java:56)
      3. org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newCache(ComponentFactoryImpl.java:37)
      4. org.terracotta.modules.hibernatecache.PlainTerracottaHibernateCacheProvider.buildCacheInternal(PlainTerracottaHibernateCacheProvider.java:27)
      5. org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.buildCache(BaseTerracottaCacheProvider.java:66)
      6. org.terracotta.modules.hibernatecache.BootstrapCacheProvider.buildCache(BootstrapCacheProvider.java:76)
      6 frames
    5. org.terracotta.hibernate
      TerracottaHibernateCacheProvider.buildCache
      1. org.terracotta.hibernate.TerracottaHibernateCacheProvider.buildCache(TerracottaHibernateCacheProvider.java:40)
      1 frame
    6. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.buildEntityRegion(RegionFactoryCacheProviderBridge.java:96)
      2. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261)
      2 frames
    7. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
      1 frame
    8. org.terracotta.hibernate
      Client1.main
      1. org.terracotta.hibernate.tests.HibernateUtil.getSessionFactory(HibernateUtil.java:34)
      2. org.terracotta.hibernate.tests.Client1.run(Client1.java:29)
      3. org.terracotta.hibernate.tests.ClientBase.execute(ClientBase.java:18)
      4. org.terracotta.hibernate.tests.Client1.main(Client1.java:22)
      4 frames