Open sergej-reiser opened 4 years ago
After taking a closer look to hapi-fhir-spring-boot-sample-server-jpa i finally found my issue.
Since HAPI 5.1.0 i need to add the following configurations to my application.yml file:
spring:
main:
allow-bean-definition-overriding: true
batch:
job:
enabled: false
Describe the bug I am using hapi-fhir-spring-boot-starter to run my FHIR-Server. After upgrading my gradle dependencies to HAPI 5.1.0, I am getting the following error when startig the server:
I uploaded a simple project which makes use of hapi-fhir-spring-boot-starter to start a HAPI-Server. You can reproduce the error by cloning https://github.com/sergej-reiser/hapi-issue.git and try to run the spring application yourself. When i change the HAPI dependencies to 5.0.2, the server starts without any issues.
Environment (please complete the following information):
Additional Information: My build.gradle file looks like this: