It looks like you’re not loading the whole core package - the validator assumes that the entire core package for the relevant version is always in scope
When you say core package what exactly needs to be added? Because we have added all required hapi 4.1.0 libraries and haven’t added scope attribute for any dependency.
Could you please verify the dependency added by us from the attachment, and tell us if anything else needs to be added or modified?
I did miss it - the package I am referring to is no a maven/java dependency, it’s the NPM package that contains the core definitions - hl7.fhir.r[x].core.
Hi again @grahamegrieve,
Could you please help me out with the steps to add this core package to our java code to be used. Also, how do I bring this package to use.
Hi @ShruJ, did you find a solution for this issue? I am getting the same error when trying validate my classes using Hapi-FHIR libraries version 5.2.0.