java.lang.NoSuchMethodError: `java.io.DataInput.close()V

Stack Overflow | trinity | 4 months ago
  1. 0
    Put Jackson Java Module and Scala module in the same version.
    via GitHub by anujlal01
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    Check if you didn't miss adding Jackson dependencies to your code.
    via GitHub by anujlal01
  4. 0
    I was using the library hibernate-entitymanager:4.3.5.Final with java persistence API 2.0 instead of using it with hibernate-entitymanager:4.2.8.Final.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      `java.io.DataInput.close()V

      at com.test.java8.l03.generics.Person.read()
    2. com.test.java8
      Person.main
      1. com.test.java8.l03.generics.Person.read(Person.java:34)
      2. com.test.java8.l03.generics.Person.main(Person.java:20)
      2 frames