-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Closed
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug
Milestone
Description
James Green opened SPR-12244 and commented
My colleague has been battling to make his application accept @Value
values from a -Dserver.properties file.
Take the following gist: https://gist.github.com/jmkgreen/7dd07d28486b5620c741
A key x in myapp.properties with value 1 will be read in as 1.
Then add x in server.properties with value 2. This does not override.
Remove hibernate.properties and the override works.
He's now merging the two shipped property files into one to overcome this issue.
Affects: 4.1 GA
Issue Links:
- Unexpected override order for @Configuration based property sources [SPR-12198] #16812 Unexpected override order for
@Configuration
based property sources
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: bugA general bugA general bug