You can't directly define a Map<List<String>, List<String>>
in application.properties
, because Spring Boot only supports basic property binding for maps like Map<String, String>
or Map<String, List<String>>
. Complex key types like List<String>
as keys are not supported in application.properties
.