반응형
250x250
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 |
Tags
- chart.js
- codebuild
- kubeflow
- aws
- Spring Error
- codedeploy error
- codepipeline
- PostgreSQL
- docker
- JavaScript
- aws cicd
- Python
- IntelliJ
- Jenkins
- redis
- java bigdecimal
- Spring
- 도커
- Flux
- COALESCE
- AWS CI/CD 구축하기
- or some instances in your deployment group are experiencing problems.
- node
- Airflow
- SQL
- bootstrap
- VPN
- chartjs
- codedeploy
- Kafka
Archives
- Today
- Total
Small Asteroid Blog
[mysql] Failed to determine a suitable driver class 본문
728x90
spring 에서 db 를 사용하는데 아래와 같은 메리지가 나오면서 db 연결이 안되고 빌드되지 않았다.
에러 메시지
해결방법
application.yml 파일에 mysql 드라이브가 추가 되어 있는지 확인하고
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
build.gradle 에 mysql 를 추가해준다.
implementation 'mysql:mysql-connector-java:8.0.30'
버전은 아래 링크에서 확인할 수 있다.
maven repository
https://mvnrepository.com/artifact/mysql/mysql-connector-java
728x90
반응형
'백엔드 > DB' 카테고리의 다른 글
[MySQL] 데이터 null 을 0 으로 (0) | 2023.03.15 |
---|---|
[sql] functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (0) | 2023.01.04 |
MySQL EXPLAIN 실행 계획 보기 (쿼리 최적화 하기) (0) | 2022.08.19 |
[PostgreSQL] 중복 데이터 하나만 남기고 삭제하기 delete (0) | 2022.04.08 |
postgresql 한글 포함 여부 확인하기 (0) | 2022.04.07 |