Spring - An illegal reflective access operation has occurred 에러

songi Jeon·2021년 1월 21일
0

오류 로그

목록 보기
6/16

상태

JUnit 테스트 중 에러가 발생했다.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/C:/Users/java/.m2/repository/org/mybatis/mybatis/3.4.1/mybatis-3.4.1.jar) to method java.util.HashMap.hash(java.lang.Object)
WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector
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
INFO : org.springframework.web.context.support.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@26275bef: startup date [Thu Jan 21 10:23:14 KST 2021]; root of context hierarchy


3.4.1 >> 3.5.2로 업데이트 하였다.

참조한 블로그 링크

진짜 원인

maven에 JUnit이 빌드되어있지 않았다. 다른 프로젝트에 다 빌드되어 있어서 당연히 되어있었다고 생각했다...앞으로 꼭 제대로 확인 하리라!

profile
비전공자가 백엔드 개발자 도전하는 블로그

0개의 댓글