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. ,
    via oracle.com by Unknown author

    App tries to load in a class through its string name using forName method in class Class, findSystemClass method in class ClassLoader, loadClass method in class ClassLoader but no definition for the class with the specified name could be found.

  2. ,

    Unless you are involved in dynamic class loading and using the Java Reflection API, chances are that the ClassNotFoundException error you are getting is not from your application code but from a referencing API.

Solutions on the web

via Terracotta by ypichot, 1 year ago
Error creating bean with name 'sessionFactory' defined in class path resource [confSpringHibernate.xml]: Invocation of init method failed; nested exception is com.tc.exception.TCClassNotFoundException: java.lang.ClassNotFoundException: org.terracotta.collections.ConcurrentDistributedMapDsoArray
via Stack Overflow by Burak Keceli
, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [spring/database/Hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
via skill-guru.com by Unknown author, 2 years ago
Error creating bean with name ‘entityManagerFactory’ defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/dialect/MySQLDialect
via ehcache by sm_assurant
, 2 years ago
Error creating bean with name 'cacheManager' defined in class path resource \[customer-beans.xml\]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: edu.emory.mathcs.backport.java.util.concurrent.ExecutionException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [confSpringHibernate.xml]: Invocation of init method failed; nested exception is com.tc.exception.TCClassNotFoundException: java.lang.ClassNotFoundException: org.terracotta.collections.ConcurrentDistributedMapDsoArray at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83) at fr.sigma.common.util.Client.<init>(Client.java:26) at fr.sigma.cachel2.util.MonClient.<init>(MonClient.java:20) at fr.sigma.cachel2.util.MonClient.main(MonClient.java:74)Caused by: com.tc.exception.TCClassNotFoundException: java.lang.ClassNotFoundException: org.terracotta.collections.ConcurrentDistributedMapDsoArray at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:151) at org.terracotta.collections.ConcurrentDistributedMap.__tc_getmap(ConcurrentDistributedMap.java) at org.terracotta.collections.ConcurrentDistributedMap.get(ConcurrentDistributedMap.java:183) at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStoreMap(TerracottaClusteredInstanceFactory.java:142) at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getStoreMapForCacheManager(TerracottaClusteredInstanceFactory.java:79) at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.getOrCreateStore(TerracottaClusteredInstanceFactory.java:68) at org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory.createStore(TerracottaClusteredInstanceFactory.java:64) at net.sf.ehcache.terracotta.StandaloneTerracottaClusteredInstanceFactory.createStore(StandaloneTerracottaClusteredInstanceFactory.java:40) at net.sf.ehcache.CacheManager.createTerracottaStore(CacheManager.java:393) at net.sf.ehcache.Cache.initialise(Cache.java:956) at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:980) at net.sf.ehcache.CacheManager.addCache(CacheManager.java:925) at net.sf.ehcache.CacheManager.addCache(CacheManager.java:881) at net.sf.ehcache.hibernate.AbstractEhcacheRegionFactory.getCache(AbstractEhcacheRegionFactory.java:144) at net.sf.ehcache.hibernate.AbstractEhcacheRegionFactory.buildEntityRegion(AbstractEhcacheRegionFactory.java:114) at net.sf.ehcache.hibernate.EhCacheRegionFactory.buildEntityRegion(EhCacheRegionFactory.java:39) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:291) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) ... 17 moreCaused by: java.lang.ClassNotFoundException: org.terracotta.collections.ConcurrentDistributedMapDsoArray at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.terracotta.express.ClusteredStateLoader.loadClass(ClusteredStateLoader.java:96) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at com.tc.object.loaders.SingleLoaderClassProvider.getClassFor(SingleLoaderClassProvider.java:17) at com.tc.object.ClientObjectManagerImpl.lookup(ClientObjectManagerImpl.java:535) at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:437) at com.tc.object.ClientObjectManagerImpl.lookupObject(ClientObjectManagerImpl.java:425) at com.tc.object.TCObjectPhysical.resolveReference(TCObjectPhysical.java:149) ... 40 more