jpa server maven build

169 views
Skip to first unread message

Andrea Caloni

unread,
Aug 24, 2022, 9:39:35 AM8/24/22
to HAPI FHIR
Hi, I am trying to build and run the hapi-fhir-jpaserver-starter rel 6_1_0 from IntelliJ.
If I set SDK project to 17, I get the following compilation error when issuing mvn install command: 
release version 17 not supported.
Else, if I set SDK project to 11, I get:
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
HAPI FHIR is targeting JDK 11 for published binaries,
                                        but we require JDK 17 to build and test this library.
Anybody has experienced the same behaviour and found a solution ?

Thanks in advance
Andrea
Reply all
Reply to author
Forward
0 new messages