Open
Description
This was mentioned in the lectures. However, even the solution does not work, and trying to run the main method leads to this exception
Exception in thread "main" java.lang.IllegalStateException: Could not find the HAPI-FHIR structure JAR
on the classpath for version R4. Note that as of HAPI-FHIR v0.8, a separate FHIR strcture JAR must be
added to your classpath (or project pom.xml if you are using Maven)
Even adding this to the pom file did not help
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-r4</artifactId>
<version>${project.version}</version>
</dependency>
As an aside, version seems to be being taken from the <parent>
stanza successfully. However, I think the rest of the pom file should actually be using ${parent.project.version}
Metadata
Metadata
Assignees
Labels
No labels