๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

STUDY/SPRING

ERROR : org.springframework.web.util.NestedServletException

๋ฐ˜์‘ํ˜•
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๋กœ ๋ณ€ํ™˜๋จ

 

ํ•ด๊ฒฐ : ์ฃผ์†Œ์ค„์ด๋ž‘ ์„ ์–ธํ•ด์ค€ ๋ณ€์ˆ˜๋ช…์ด๋ž‘ ์ผ์น˜ํ•˜๋Š”์ง€ ํ™•์ธ

๋ฐ˜์‘ํ˜•