com.mysql.cj.jdbc.Driver
-
[SpringBoot] MyBatis + log4jdbc 설정 시 deprecated 로그 수정IT/삽질 2023. 5. 2. 00:52
MyBatis에 보다 친절한(?) 로그 출력을 log4jdbc 통해서 가능하대서 적용해봤는데. 빌드 시 로그에 다음과 같은 로그를 찍고 있드라. Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 악! 왜 갑자기 이게 나오지?? 가만보자.. 내가 추가한게 뭐였드라? (사실 에러 로그가 아니기 때문에 큰 문제는 아니지만 거슬린다 ㅠㅠ) log4jdbc.log..