인프런 커뮤니티 질문&답변
error Message null
작성
·
1.5K
답변 2
21
1
RequestDispatcher.ERROR_...로 한번 해보세요
log.info("ERROR_EXCEPTION: {}", request.getAttribute(RequestDispatcher.ERROR_EXCEPTION));
log.info("ERROR_EXCEPTION_TYPE: {}", request.getAttribute(RequestDispatcher.ERROR_EXCEPTION_TYPE));
log.info("ERROR_MESSAGE: {}", request.getAttribute(RequestDispatcher.ERROR_MESSAGE));
log.info("ERROR_REQUEST_URI: {}", request.getAttribute(RequestDispatcher.ERROR_REQUEST_URI));
log.info("ERROR_SERVLET_NAME: {}", request.getAttribute(RequestDispatcher.ERROR_SERVLET_NAME));
log.info("ERROR_STATUS_CODE: {}", request.getAttribute(RequestDispatcher.ERROR_STATUS_CODE));
log.info("dispatchType={}", request.getDispatcherType());







분명히 404 오류! 메시지가 포함이되어있는데
javax -> jakarta 로 변경해서 해결했습니다.
안녕하세요. sk47kt님, 공식 서포터즈 코즈위버입니다.
스스로 잘 해결하셨습니다 :)
강의 수강 중 강의 관련 궁금한 사항은 언제든 질문 남겨주세요^^