Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- NonNullable
- returnType
- 레이아웃쪼개기
- React.js
- JS console
- CSS
- 리액트
- reactjs
- 누구나 자료구조와 알고리즘
- click and drag
- 타입스크립트
- 공통컴포넌트
- 제네릭
- vue.js
- React Native
- 타입좁히기
- 반복줄이기
- Chart.js
- javascript
- typescript
- TSDoc
- const 단언문
- react
- utilty type
- 티스토리꾸미기
- 성능최적화
- 개발콘텐츠
- 2022
- 커스텀
- 폰트적용하기
Archives
- Today
- Total
몽땅뚝딱 개발자
[JAVA] 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. 본문
에러일지/JAVA
[JAVA] 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.
레오나르도 다빈츠 2021. 6. 15. 00:24
에러
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.
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.
원인
최신 드라이버가 아니기 때문에 생긴 오류이다.
해결
application.properties에서 [spring.datasource.driver-class-name]의 값을 "com.mysql.cj.jdbc.Driver"로 바꾼다.
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
개인적으로 공부한 내용을 정리하는 블로그로
잘못된 개념을 게시하지않도록 주의하고 있으나 오류가 있을 수 있습니다.
'에러일지 > JAVA' 카테고리의 다른 글
Comments