java.lang.ClassCastException: org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate3.SessionHolder

Spring JIRA | Augustine Parthinathan | 5 years ago
  1. 0

    db:: 3.44::JSF logging in 5.1.0.Beta1 xk

    hivmr.com | 8 months ago
    javax.servlet.ServletException: Could not instantiate Seam component: homeControler
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Spring and Hibernate problem (Spring forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.ClassCastException: org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate3.SessionHolder
  4. 0

    hibernate4.SessionHolder cannot be cast to hibernate3.SessionHolder

    Stack Overflow | 9 months ago | Beloudest
    java.lang.ClassCastException: org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate3.SessionHolder

    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.ClassCastException

      org.springframework.orm.hibernate4.SessionHolder cannot be cast to org.springframework.orm.hibernate3.SessionHolder

      at org.springframework.orm.hibernate3.SessionFactoryUtils.doGetSession()
    2. Hibernate
      HibernateTemplate.loadAll
      1. org.springframework.orm.hibernate3.SessionFactoryUtils.doGetSession(SessionFactoryUtils.java:287)
      2. org.springframework.orm.hibernate3.SessionFactoryUtils.getSession(SessionFactoryUtils.java:233)
      3. org.springframework.orm.hibernate3.HibernateTemplate.getSession(HibernateTemplate.java:457)
      4. org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:393)
      5. org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
      6. org.springframework.orm.hibernate3.HibernateTemplate.loadAll(HibernateTemplate.java:584)
      6 frames