반응형
org.springframework.web.util.NestedServletException: Request processing failed;
nested exception is java.lang.IllegalStateException:
Optional int parameter 'club_no' is present but cannot be translated into a null value
due to being declared as a primitive type.
Consider declaring it as object wrapper for the corresponding primitive type.

club_no를 받는데 null로 변환됨
해결 : 주소줄이랑 선언해준 변수명이랑 일치하는지 확인

반응형
'STUDY > SPRING' 카테고리의 다른 글
| ERROR: org.springframework.web.context.ContextLoader - Context initialization failed (1) | 2022.07.01 |
|---|---|
| Error : SEVERE: 자식 컨테이너를 시작 중 실패했습니다. (0) | 2022.07.01 |
| 예외 관리 (1) | 2022.06.22 |
| spring - 자동완성 추가하기 (0) | 2022.06.18 |
| Spring-board 1설정 (0) | 2022.06.17 |