This can be reproduced as follows:
$ git clone https://github.com/spring-projects/spring-data-jpa $ cd spring-data-jpa $ mvn clean test -Phibernate-5 // Works! $ mvn clean test -Phibernate-5-next // Fails with exception shown above