java.lang.ClassNotFoundException: org.hibernate.context.ThreadLocalSessionContext

Terracotta | bravo025 | 4 years ago
  1. 0

    Re:Spring 3.1 , Hibernate 4.1.1 +Ehcache issue

    Terracotta | 4 years ago | bravo025
    java.lang.ClassNotFoundException: org.hibernate.context.ThreadLocalSessionContext
  2. 0

    Could not load driverClass com.mysql.jdbc.Driver - Spring Forum

    spring.io | 8 months ago
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  3. 0

    org.apache.jasper.runtime.TldScanner Not found

    Stack Overflow | 1 year ago | Renu Thakur
    java.lang.ClassNotFoundException: org.apache.jasper.runtime.TldScanner
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    loig4j appenders broken because of repackage

    GitHub | 3 years ago | dotjorgeu
    java.lang.ClassNotFoundException: edu.emory.mathcs.backport.java.util.concurrent.LinkedBlockingDeque

  1. Piz 2027 times, last 4 months ago
  2. Justin 1 times, last 5 months ago
  3. Kawada 3 times, last 7 months ago
  4. Tahir 2 times, last 2 months ago
  5. jedcua 1 times, last 4 months ago
4 more registered users
88 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.hibernate.context.ThreadLocalSessionContext

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1711)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
    2 frames
  3. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:169)
    2 frames
  4. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.internal.util.ReflectHelper.classForName(ReflectHelper.java:192)
    2. org.hibernate.internal.SessionFactoryImpl.buildCurrentSessionContext(SessionFactoryImpl.java:1770)
    3. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:505)
    4. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1740)
    4 frames
  5. Hibernate EJB
    HibernatePersistence.createContainerEntityManagerFactory
    1. org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)
    2. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
    3. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
    4. org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
    4 frames
  6. Spring ORM
    AbstractEntityManagerFactoryBean.afterPropertiesSet
    1. org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:257)
    2. org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)
    2 frames
  7. Spring Beans
    AbstractBeanFactory.getBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    8 frames
  8. Spring ORM
    PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject
    1. org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:99)
    2. org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:511)
    3. org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:493)
    4. org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:657)
    5. org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:630)
    5 frames
  9. Spring Beans
    InjectionMetadata.inject
    1. org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:150)
    2. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    2 frames
  10. Spring ORM
    PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues
    1. org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:339)
    1 frame
  11. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    8. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
    8 frames
  12. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
    2 frames
  13. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
    3 frames
  14. Glassfish Core
    HostConfig$DeployDescriptor.run
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4779)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5273)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
    7. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
    8. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1585)
    8 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:619)
    6 frames