I get an exception like below SO question:
SpringPersistenceUnitInfo :: AbstractMethodError
Caused by: java.lang.AbstractMethodError: org.springframework.orm.jpa.persistenceunit.SpringPersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode
My dependencies are in the screenshot, i tried almost all the advices, result is same exception:
After adding dependencies in answer:
You're most likely missing these dependencies:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator-annotation-processor</artifactId>
<version>5.0.3.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>
<scope>test</scope>
</dependency>
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments