We are missing Java 21 in the CI matrix build, but it also seems like there are some issues when testing MapStruct with Java 21. See https://github.com/mapstruct/mapstruct/discussions/3461