Doc: @PropertySource meta-annotation not detected next to direct annotation [SPR-16592] #21134
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: task
A general task
Milestone
Evgeny Naku opened SPR-16592 and commented
Check out sample bug project on github: https://github.com/0v1se/spring-properties-bug
@PropertySource
is not used when it's defined in other annotation.For example, I have
Then I have configuration:
When I try to use ErrorConfiguration, there is an error Caused by: java.lang.NumberFormatException: For input string: intValue1
But when I try to use
@PropertySource
directly, everything is fine:Affects: 4.3.14, 5.0.3
Reference URL: https://github.com/0v1se/spring-properties-bug
Backported to: 4.3.15
The text was updated successfully, but these errors were encountered: