From 5904ceaa5eb6dbff89084afd0b6e1ee24fe850b6 Mon Sep 17 00:00:00 2001 From: Johannes Schnatterer Date: Tue, 10 Aug 2021 16:23:37 +0200 Subject: [PATCH] Fix message not being loaded, when no SPRING_MESSAGES_BASENAME is set. Otherwise for example the welcome screen shows "??welcome_en_US??" --- src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 4d4784e36..872e24176 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -11,7 +11,7 @@ spring.jpa.hibernate.ddl-auto=none spring.jpa.open-in-view=false # Internationalization -spring.messages.basename=messages/messages +spring.messages.basename=classpath:/messages/messages # Actuator management.endpoints.web.exposure.include=*