Open icemac opened 11 months ago
i tried 2.0.0 with the dockerfile and didnt have any issues with the used java 17
See https://github.com/gtuk/diga-api-service/pull/27 for a fix.
Maybe its the use of Java 17 also during the build in your commits?
Upgrading to Java 17 in the build also would make sense though it should work with Java 11 for the build and running it with 17.
@jakob-p wrote:
i tried 2.0.0 with the dockerfile and didn't have any issues with the used java 17
Maybe you are not using nested jar files there which seems to be the root cause.
I'm currently working on updating the whole dockerfile / project to java 17
I pushed some changes to https://github.com/gtuk/diga-api-service/tree/update-java Could you please check if this fixes the problems and that it's working for you now
@icemac @jakob-p did you have time already to check it out?
Using Java 17 and the new 2.0.0 release I seem to run into https://github.com/spring-projects/spring-boot/issues/28837:
Local traceback for validation
According to https://github.com/spring-projects/spring-boot/commit/33c5e1269aea741f743d5c2597c9d5c57f3ad357 this issue was fixed in 3.2.0rc1.
Do you think it is possible to try out the latest version (currently 3.2.0rc2) to get rid of this error? It currently prevents from using the new release and Java 17.