error - an illegal reflective access operation has occurred warning

suu1006·2022년 8월 1일
0

error

목록 보기
2/4
  • 에러 내용
    warning: an illegal reflective access operation has occurred warning: illegal reflective access by org.springframework.cglib.core.reflectutils$1 (file:/c:/users/user/.m2/repository/org/springframework/spring-core/5.0.7.release/spring-core-5.0.7.release.jar) to method java.lang.classloader.defineclass(java.lang.string,byte[],int,int,java.security.protectiondomain) warning: please consider reporting this to the maintainers of org.springframework.cglib.core.reflectutils$1 warning: use --illegal-access=warn to enable warnings of further illegal reflective access operations warning: all illegal access operations will be denied in a future release

해결방법 : pom.xml에서
<org.springframework-version>5.1.5.RELEASE</org.springframework-version>
버전을 수정하였더니 에러 해결됨.(JavaSE-11버전 사용중이었음.)

0개의 댓글