Spring properties Validation in nested ConfigurationProperties
问题 I'm using @ConfigurationProperties to keep track of my properties. Everything work fine, including class member for sub-configuration. Properties are well loaded and the framework uses the getter to determine the "name of the context". However I have trouble when trying validation, it does not validate sub properties. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven