-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
type: bugA general bugA general bugtype: regressionA regression from a previous releaseA regression from a previous release
Milestone
Description
A Spring Boot app that has a message source in default location (i.e. messages.properties
in src/main/resources
) suddenly stopped resolving messages after upgrade to 2.1.0.RC1
when started from IDE.
I've tracked this to enabling of spring.messages.reloadable
for DevTools that was done in #14699 - I believe this shouldn't have been done with the existing default for spring.messages.basename
(i.e. messages
), since ReloadableResourceBundleMessageSource
won't resolve the supplied basename from the classpath unless explicitly prefixed with classpath:
.
Having said that I've tried setting spring.messages.basename
to classpath:messages
but that didn't work either.
michael-simons
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bugtype: regressionA regression from a previous releaseA regression from a previous release