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
- returnType
- const 단언문
- 반복줄이기
- 2022
- TSDoc
- 타입선언
- CSS
- click and drag
- 누구나 자료구조와 알고리즘
- 티스토리꾸미기
- vue.js
- 제네릭
- 성능최적화
- 레이아웃쪼개기
- 리액트
- 타입좁히기
- Chart.js
- typescript
- NonNullable
- 공통컴포넌트
- react
- utilty type
- JS console
- 폰트적용하기
- javascript
- 개발콘텐츠
- React.js
- 타입스크립트
- 커스텀
- reactjs
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