Skip to content

Clarify documented behavior of MessageSource auto-configuration when no resource bundles matching the configured basenames exist #17485

@membersound

Description

@membersound

From spring-projects/spring-security#7067

If you set only one nonexisting message bundle, the following warning is printed correctly: spring.messages.basename=messages1

ResourceBundle [messages] not found for MessageSource: Can't find bundle for base name messages, locale en

If you set 2 nonexisting message bundles, the warning is missing:
spring.messages.basename=messages1, messages2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions