Errors when enabling MDM

65 views
Skip to first unread message

R S

unread,
Oct 2, 2023, 12:24:20 PM10/2/23
to HAPI FHIR
When enabling MDM I get the following error:


APPLICATION FAILED TO START

Description:

Parameter 2 of method matcherFactory in ca.uhn.fhir.jpa.mdm.config.MdmCommonConfig required a bean of type 'ca.uhn.fhir.jpa.nickname.INicknameSvc' that could not be found.

Action:

Consider defining a bean of type 'ca.uhn.fhir.jpa.nickname.INicknameSvc' in your configuration.

---

Arnold Maderthaner

unread,
Nov 15, 2023, 5:49:44 AM11/15/23
to HAPI FHIR
i have the very same issue. any help on that ?

Muhammad Risky Pahlevi (Levi)

unread,
Nov 22, 2023, 3:32:43 AM11/22/23
to HAPI FHIR
Salaam / Greetings,

I also faced the same thing, have created a GitHub issue for it.

Matteo Steccolini

unread,
Nov 30, 2023, 8:18:08 AM11/30/23
to HAPI FHIR
Hello, I have a workaround for this, that is not to be considered a permanent solution but shouldn't have bad side effects.

You could simply add the package ca.uhn.fhir.jpa.searchparam.config to spring component scan, for example in application.yaml:

custom-bean-packages: ca.uhn.fhir.jpa.searchparam.config

It contains class NicknameServiceConfig that creates the needed Bean.

The only other class in the same package is SearchParamConfig which is hard-imported by class ca.uhn.fhir.jpa.config.JpaConfig.

Hope that helps.
Reply all
Reply to author
Forward
0 new messages