Camunda 7.21.0 fails to boot with spring-boot 3.2.x for multi-module projects

A smilar post Camunda 7 failed to start after migration to Spring Boot 3 - Camunda 7 Topics - Camunda Forum.

The solution seems like a workaround and not a real solution though.