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

后端 未结 20 2344
南方客
南方客 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:26

    According to the stack trace:

    Caused by: java.lang.NoClassDefFoundError: javassist/util/proxy/ProxyObject at     java.lang.ClassLoader.defineClass1(Native Method)
    

    The issue is caused by "java.lang.NoClassDefFoundError", so I think you should focus on this.

    The direct solution is to add dependency

    
        javassist
        javassist
        3.12.1.GA
    
    

    to your pom.xml.

提交回复
热议问题