diff --git a/persistence-modules/spring-boot-persistence-h2/pom.xml b/persistence-modules/spring-boot-persistence-h2/pom.xml index 023e20837b..f643db2260 100644 --- a/persistence-modules/spring-boot-persistence-h2/pom.xml +++ b/persistence-modules/spring-boot-persistence-h2/pom.xml @@ -17,6 +17,10 @@ + + org.springframework.boot + spring-boot-starter-web + org.springframework.boot spring-boot-starter-data-jpa diff --git a/persistence-modules/spring-boot-persistence-h2/src/main/resources/app-h2.properties b/persistence-modules/spring-boot-persistence-h2/src/main/resources/app-h2.properties index bb88e7fef4..13500d1c1f 100644 --- a/persistence-modules/spring-boot-persistence-h2/src/main/resources/app-h2.properties +++ b/persistence-modules/spring-boot-persistence-h2/src/main/resources/app-h2.properties @@ -1 +1 @@ -spring.sql.init.data-locations=user-data.sql +spring.sql.init.data-locations=classpath:user-data.sql diff --git a/persistence-modules/spring-boot-persistence-h2/src/main/resources/application-h2.properties b/persistence-modules/spring-boot-persistence-h2/src/main/resources/application-h2.properties index 6fb436f520..799bb67959 100644 --- a/persistence-modules/spring-boot-persistence-h2/src/main/resources/application-h2.properties +++ b/persistence-modules/spring-boot-persistence-h2/src/main/resources/application-h2.properties @@ -1 +1 @@ -spring.sql.init.data-locations=data-h2.sql +spring.sql.init.data-locations=classpath:data-h2.sql