java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session

后端 未结 4 2024
旧时难觅i
旧时难觅i 2020-11-29 07:24

i am trying to integrate my already working spring project with hibernate, but this is the error i am getting on start up.

EVERE: Servlet.service() for servl         


        
4条回答
  •  离开以前
    2020-11-29 08:01

    I was having similar kind of trouble; used a different version of apache-camel-extra helped resolving the problem

    compile group: 'org.apache-extras.camel-extra', name: 'camel-hibernate', version: '2.18.0'
    

    Our application setup

    gradle
    apache-camel
    spring
    hibernate
    spring-jta and atomikos 
    

提交回复
热议问题