Am currently working on botswanaemr … have switched to a new machine using Java 8 en Apache Maven 3.6.3
already configured …however am encountering this error in building our module
so I thought it was abt the fhir module…though it also returned the same
have deleted the .m2 folder and recomplied but still the same error though
@jonathan to resolve the Initializer dependency download issue, you’ll have to add the mks-nexus repositories to your module root pom like is done on the Ref App distro;
About the error coming from the fhir2 api, there could be some transitive dependencies that are part of some fhir2 api sub-modules. Those you’ll have to explicitly depend on inside your module’s pom, that is if you are leveraging those fhir2 api submodules coming with transitive dependencies. For example you might want to add the submodule that has the required packages as dependency to the module you are working on (simpler to do and ideal) such as
thanks @ruhanga this really saved my day …also have deleted the /home/muta-jonathan/.m2/repository/ca/uhn/hapi/fhir/org.hl7.fhir.r4/5.4.0 and rebuilded the module this also has cleared the fhir2 error