JDK11.An illegal reflective access operation has occurred
JDK11 환경에서 개발중 위 메시지와 같은 에러가 발생했다.
아래와 같이 HATEOAS의 methodOn에서 자신의 Class를 직접 호출하는 부분에서 에러가 발생하였으며, 컴파일에는 문제가 없었다.
// code
linkTo(methodOn(Some.class))
These were the top 10 stories published by byungkyu-ju; you can also dive into yearly archives: 2019, 2020, 2021, and 2023.