Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]

后端 未结 20 2480
南方客
南方客 2020-12-08 02:10

I am developing an application with Hibernate and I get an Exception when I connect with database. The exception is:

Unable to instantiate default tuplizer [         


        
20条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 02:12

    I am using spring 3.0 and Hibernate 3.6 in my project. I ran into the same error just now. Googling this error message brought me to this page.

    Funtik's comment on Jan 17 '12 at 8:49 helped me resolve the issue-

    "This tells me that javassist cannot be accessed. How do you include this library into the project?"

    So, I included java assist in my maven pom file as below:

    
        javassist
        javassist
        3.12.1.GA
    
    

    This resolved the issue for me. Thanks Funtik.

提交回复
热议问题