IllegalArgumentException: At least one JPA metamodel must be present

You have added


in your pom.xml.

Spring boot will try automatically create an entity factory for JPA, but you do not have defined anything regarding JPA models.

Try removing it in order to test what have you done so far.

Afterwards you can check a tutorial using spring-data-starter-jpa like this guy

Leave a Comment