Reproduced for me using 2.0.3.RELEASE
I found similar issue here - #9545
As mentioned it should be fixed in 2.0.3.M3 but looks like it's not
My case is similar but without explicit prefix parameter
@Getter
@Setter
@ConfigurationProperties("myCommonProperties")
public class MyCommonProperties {
private String someProperty;
}
It fails with
Caused by: org.springframework.boot.context.properties.source.InvalidConfigurationPropertyNameException: Configuration property name 'myCommonProperties' is not valid
Haven't found any other opened issues with similar behaviour