79323905

Date: 2025-01-02 13:53:27
Score: 3
Natty:
Report link

It didn’t work as expected because this type of error occurs during the initialization of the Spring context, before the controllers are fully ready. So, your @ControllerAdvice cannot intercept this exception, I think.

Maybe this could help you: Baeldung - spring-boot-failure-analyzer

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @ControllerAdvice
  • Low reputation (1):
Posted by: Jérémy Woirhaye