반응형
💥 application run 시 발생한 에러 메시지
java.lang.IllegalArgumentException: Name for argument of type [com.example.demo.domain.type.SearchType] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
❓에러 발생 이유
build를 인텔리제이로 해서 발생한 에러이다. 인텔리제이에서 빌드할 때는 -parameters' 플래그가 기본적으로 사용되지 않을 수 있습니다.
✅ 해결 방법
✔️ 해결 방법
- build를 인텔리제이에서 gradle로 변경해 주면 해결된다.
반응형
댓글