You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring boot 3 also provides Problem details support which must not be enabled otherwise it will shadow all `ControllerAdvice`'s provided by this library.
268
-
By default `spring.mvc.problemdetails.enabled` is `false`, so it must not be set to `true`
269
-
270
266
Specify message source bundles as follows. Make sure to include `i18/problems` bundled in the library, as it
271
267
has default messages for certain exception. And it should be last in the list of `basenames`,
272
268
so that it has lowest priority and any default messages coming from `problems.properties` can be overridden
@@ -282,6 +278,10 @@ but not recommended.
282
278
To be on safer side, it's recommended to keep it `true`, in that case if some message is not found,
283
279
the message key is taken as its value, which can be updated later into `properties` file, once noticed.
284
280
281
+
> [!IMPORTANT]
282
+
Spring boot 3 also provides Problem details support which must not be enabled otherwise it will shadow all `ControllerAdvice`'s provided by this library.
283
+
By default `spring.mvc.problemdetails.enabled` is `false`, so it must not be set to `true`
284
+
285
285
## Problem Properties
286
286
**Following are the configurations** to customize default behaviour of `spring-boot-problem-handler`.
0 commit comments