백엔드/Spring(Boot)
스프링 부트 에러 페이지 설정
김어찐
2021. 10. 2. 02:42
728x90
error코드에 맞게 resources/templates/error/{{error code}}.html 로 자동으로 설정
400 번대 에러코드가 뜨면 4xx.html로 설정(404 예외)
적용 대상이 없으면 resources/templates/error.html로 설정
728x90