File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,12 +314,12 @@ or in `application.properties` as follows
314
314
spring.autoconfigure.exclude =org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration
315
315
```
316
316
317
- Specify message source bundles as follows. Make sure to include ` i18 /problems` bundled in the library, as it
317
+ Specify message source bundles as follows. Make sure to include ` i18n /problems` bundled in the library, as it
318
318
has default messages for certain exception. And it should be last in the list of ` basenames ` ,
319
319
so that it has lowest priority and any default messages coming from ` problems.properties ` can be overridden
320
320
by specifying the property with different value in application's ` errors.properties `
321
321
``` properties
322
- spring.messages.basename =i18n/errors,i18 /problems
322
+ spring.messages.basename =i18n/errors,i18n /problems
323
323
spring.messages.use-code-as-default-message =true
324
324
```
325
325
if ` use-code-as-default-message ` is set to ` false ` and the message is not found in any of the ` properties ` file
You can’t perform that action at this time.
0 commit comments