[์ค๋ฅํด๊ฒฐ] Whitelabel Error Page, java.lang.IllegalArgumentException
2024. 1. 16. 21:54
[์ค๋ฅ๋ด์ฉ]
ํฌ๋กฌ์์ ํด๋น api ์คํ ์ "Whitelabel Error Page"๋ก ๋จ๊ณ ์ธํ ๋ฆฌ์ ์ด์์๋ ์๋ ์ฝ๋์ ๊ฐ์ ์๋ฌ๊ฐ ๋ฌ๋ค.
java.lang.IllegalArgumentException: Name for argument of type [java.lang.Long] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
[ํด๊ฒฐ๋ฐฉ๋ฒ]
@PathVariable์ name="id" ์ถ๊ฐ
public Long update(@PathVariable(name="id") Long id){
...
}
728x90
'๐ป๊ฐ๋ฐ > Server' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[์ค๋ฅํด๊ฒฐ] ์ธํ ๋ฆฌ์ ์ด ํ๊ธ๊นจ์งํ์ ํด๊ฒฐ (0) | 2024.01.28 |
---|---|
[์ค๋ฅํด๊ฒฐ] Database "mem:testdb" not found (0) | 2024.01.16 |
[์ค๋ฅํด๊ฒฐ] error: package org.junit does not exist (0) | 2024.01.09 |