Skip to content

@ConstructorBinding example in the reference documentation uses the wrong import for @DefaultValue #20378

Closed
@devopsix

Description

@devopsix

Affects: Spring Boot 2.2.5

The externalized configuration constructor binding example code snippet shows an incorrect import.

Inocrrect import: import org.springframework.boot.context.properties.DefaultValue;

Correct import: import org.springframework.boot.context.properties.bind.DefaultValue;

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions