re:coding

  • 홈
  • 태그
  • 방명록

2023/09/20 1

[Spring Boot] RequestParam @valid 어노테이션 활성화

1. validation을 활성화하기위해 디펜던시를 추가하고, @RestControllerAdvice 를 선언한 클래스에 handleConstraintViolation예외처리를 하였는데 에러응답이 다른 응답으로 나왔습니다. org.springframework.boot spring-boot-starter-validation @ExceptionHandler(value = {ConstraintViolationException.class}) protected ResponseEntity handleConstraintViolation(ConstraintViolationException ex) { ErrorCode errorCode = ErrorCode.INVALID_BAD_REQUEST; ExceptionRespo..

Trouble Shooting 2023.09.20
이전
1
다음
더보기
프로필사진

re:coding

  • 분류 전체보기 (27)
    • Trouble Shooting (8)
    • 성능최적화 (0)
    • Linux (4)
    • Cloud (2)
      • Oracle Cloud (2)
    • TIP (1)
      • Git (0)
      • Notion (0)
      • IntelliJ (1)
    • Spring Boot (4)
      • Spring Security (1)
      • Spring Data JPA (1)
    • JAVA (1)
    • Book (3)
      • 면접을 위한 CS 전공지식 노트 (3)
    • ETC (2)

Tag

#한컴타자 #한글과컴퓨터 #키크론 #기계식키보드 #타자연습 #타자정확도배틀, spring, Spring Security, 한컴타자 #한글과컴퓨터 #키크론 #기계식키보드 #타자연습 #산성비 #추억의게임 #키크론산성비, Git, sourcetree, 예외처리,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2023/09   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바