
[Error] java.lang.IllegalArgumentException : Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection.
1️⃣ 문제 상황 Spring 관련 공부 도중 발생한 에러이다. 해당 에러는 '@RequestParam', '@PathVariable' 애노테이션을 사용할 때 발생할 수 있다. 아래는 에러 메시지 내용 중 일부이다. 2️⃣ 원인 분석 java.lang.IllegalArgumentException: Name for argument of type [java.lang.String] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag. at org.springframework.web.method.annotation.AbstractNam..