79444644

Date: 2025-02-17 07:11:07
Score: 0.5
Natty:
Report link

The problem was due to a version mismatch between the libraries. One of dependencies(a company-private lib) used jadira lib.

Since Hibernate was excluded(as shown in pom), it was not present in dependency tree, but the code was built with different version of Hibernate. Upgrading this lib to a newer version resolved the AbstractMethodError.

    <dependency>
        <groupId>org.jadira.usertype</groupId>
        <artifactId>usertype.core</artifactId>
        <version>6.0.0.GA</version>
        <exclusions>
            <exclusion>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-core</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Croksie