Stream: hapi
Topic: NoSuchMethodError saveAll
Will Beaumont (Dec 11 2018 at 19:26):
Hi all,
I'm currently implementing a hapi-fhir based solution around spring. I'm using 3.6.0 in a spring boot 1.5 environment. I've got the hapi server up and running and I've created a Patient resource in the database, which I can query using GET /fhir/Patient/1 successfully. However when I attempt to execute a search on Patients, regardless of what query params I seem to supply I'm getting an error:
java.lang.NoSuchMethodError: ca.uhn.fhir.jpa.dao.data.ISearchResultDao.saveAll(Ljava/lang/Iterable;)Ljava/util/List;
That looks very much like a dependency versioning issue to my naive eyes, but I've confirmed that all the hapi jars are from the 3.6.0 packages so I'm not sure where else to look.
Can anyone offer any insight or help as to where I might look for more info?
Many thanks in advance!
Will Beaumont (Dec 11 2018 at 21:02):
Nevermind, I think it's a spring boot version issue. I'll look into that more.
Last updated: Apr 12 2022 at 19:14 UTC