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

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

    I had a similar problem and after going over a lot on stack overflow and spending time on the jar dependencies, I figured out that in my case, I had two sets of asm.jar. I removed one of them and it worked fine...

    0 讨论(0)
  • 2020-12-08 02:34

    My issue was due to version conflict. I resolved this issue by excluding byte-buddy dependency from springfox

    <dependency>
      <groupId>io.springfox</groupId>
      <artifactId>springfox-swagger2</artifactId>
      <version>2.7.0</version>
      <exclusions>
      <exclusion>
        <groupId>net.bytebuddy</groupId>
        <artifactId>byte-buddy</artifactId>
      </exclusion>
      </exclusions>
    </dependency>
    
    <dependency>
      <groupId>io.springfox</groupId>
      <artifactId>springfox-swagger-ui</artifactId>
      <version>2.7.0</version>
      <exclusions>
      <exclusion>
        <groupId>net.bytebuddy</groupId>
        <artifactId>byte-buddy</artifactId>
      </exclusion>
    </exclusions>
    </dependency>
    
    0 讨论(0)
提交回复
热议问题