반응형 customErrorController1 springboot application.properties server.error 설정 ErrorController springboot application.properties server.error 설정 ErrorController springboot의 에러 설정에 대해 알아보겠습니다. springboot 에러 설정은 기본 설정파일인 application.properties 파일에서 간단히 할 수 있습니다. server.error.path : 에러발생 시 전달 할 경로 (default : /error) server.error.include-exception : 응답에 exception을 포함할지 여부 (default : false) server.error.include-stacktrace : 응답에 stacktrace를 포함할지 여부 (default : never) server.error.whitelabel.enab.. Programing/Springboot 2021. 10. 22. 이전 1 다음 💲 추천 글 반응형