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

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

,
Expert tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

,
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

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 mina-dev by Bernd Fondermann (JIRA), 4 months ago
Error creating bean with name 'server' defined in class path resource [spring-config.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: src/main/config/bogus_mina_tls.cert (No such file or directory)
via Stack Overflow by B.K.
, 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, 1 year 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
, 1 year 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
via mkyong.com by Unknown author, 8 months ago
Error creating bean with namesessionFactorydefined in class path resource [spring/database/Hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
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 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)
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 org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:291)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
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.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at fr.sigma.common.util.Client.(Client.java:26)
at fr.sigma.cachel2.util.MonClient.(MonClient.java:20)
at fr.sigma.cachel2.util.MonClient.main(MonClient.java:74)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2435 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.