Created
May 21, 2019 00:58
-
-
Save onlyeat3/9d13ab20dbe269e24aa350f26c28e506 to your computer and use it in GitHub Desktop.
@ControllerAdvice handle all exception
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring.mvc.throw-exception-if-no-handler-found=true | |
spring.resources.add-mappings=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment