Skip to content

Update @ConfigurationProperties Javadoc to mention that the canonical format is required #14258

@mumukiller

Description

@mumukiller

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions