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

后端 未结 20 2472
南方客
南方客 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条回答
  •  半阙折子戏
    2020-12-08 02:18

    Add the following to your pom.xml and take out the dependency from asm jars from hibernate and add separate dependency to asm in a separate section. I did the same and it worked in one shot.

        
        
          org.hibernate
          hibernate
          3.2.7.ga
    
             
          
             asm 
               asm
             
             
              asm
                asm-attrs
              
          
        
    
    
        
          asm
          asm
          3.1
    

提交回复
热议问题