Help with DHIS2 FHIR Adapter setup. Logs included

I’m having difficulties with setting up and running the Adapter. I have followed the instructions on the Github page. When I tried to run the war file from IntelliJ IDEA, the log file looks like this: dhis2-fhir-adapter.log. This is my application.yml: application.yml

Please, I need any help I can get. Thank you.

Hey Nam Nguyen @gintalk,
Welcome to the community! It’s great you’re asking for support in the CoP. I will tag the right person to support you. I see that you’re making DHIS2 applications so I encourage you to check out the DHIS2 Developer Portal where you’ll find many useful resources.

@jaime.bosque @austin, what would you recommend Nam to do? Thank you!

1 Like

Hi @gintalk . It seems you are running on JDK 11 or later. Currently, the DHIS2 FHIR Adapter runs on JDK 8. Kindly check the building section of the DHIS2 FHIR adapter’s README.md. Part of it reads as follows: “In order to build the adapter Java Development Kit 8 and Maven 3.2 or later is required”. We once encountered this error too and we had to downgrade our JDK from 11 to 8. Alternatively, you can install JDK 8 side by side with your existing JDKs and use it to run the adapter. Thanks.

2 Likes

Switching to JDK 8 solved the problem for me. Thank you very much!!

2 Likes