You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying springboot-testresources on a Spring Boot Petclinic app, and I think I followed the instructions properly, but when i try to build it, or run the individual test from my IDE (PetClinicIntegrationTests), then it fails with the following error:
> Task :internalStartTestResourcesService
Errors occurred while build effective model from /Users/shelajev/.gradle/caches/modules-2/files-2.1/io.cloudflight.testresources.springboot/springboot-testresources-jdbc-postgres/0.2.0/133bd2af448e4f364498b889a8d5e6847e3881a9/springboot-testresources-jdbc-postgres-0.2.0.pom:
'dependencies.dependency.version' for org.testcontainers:postgresql:jar is missing. in io.cloudflight.testresources.springboot:springboot-testresources-jdbc-postgres:0.2.0
Errors occurred while build effective model from /Users/shelajev/.gradle/caches/modules-2/files-2.1/io.cloudflight.testresources.springboot/springboot-testresources-jdbc/0.2.0/fe2291622201c55906afb3fc811c7dc5450fcc3a/springboot-testresources-jdbc-0.2.0.pom:
'dependencies.dependency.version' for org.testcontainers:jdbc:jar is missing. in io.cloudflight.testresources.springboot:springboot-testresources-jdbc:0.2.0
Do you know what can I try to resolve? I added Testcontainers BOM to explicitly provide the versions, but it doesn't seem to help.
The project if you want to try it is here: Github repo
The text was updated successfully, but these errors were encountered:
Unfortunately I couldn't fix it using this plugin, but I found a probable even better approach without the plugin at all. If you change your build.gradle to the following:
I'm trying springboot-testresources on a Spring Boot Petclinic app, and I think I followed the instructions properly, but when i try to build it, or run the individual test from my IDE (PetClinicIntegrationTests), then it fails with the following error:
Do you know what can I try to resolve? I added Testcontainers BOM to explicitly provide the versions, but it doesn't seem to help.
The project if you want to try it is here: Github repo
The text was updated successfully, but these errors were encountered: