Skip to content

Upgrade to 2.1.0.RC1 breaks message source with DevTools #14882

@vpavic

Description

@vpavic

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions