| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- JWT
- TestCode
- 컴퓨터 공학
- SpringSecurity
- LinkedList
- ORM
- 스프링부트
- JPA
- 백준
- 백엔드스쿨
- 서버
- Java
- 연관관계
- queue
- SpringBoot
- 백엔드공부
- QueryDSL
- spring boot
- 핵심가이드
- restTemplate
- actuator
- spring
- error
- array
- 개발자
- 백엔드
- 제로베이스
- 자료구조
- 프로그래머스
- 컴퓨터 구조
Archives
- Today
- Total
목록MySQL (1)
be_better
에러 내용 Springboot와 Mysql 연동을 위해 gradle에 mysql dependency를 추가하고 dependencies { runtimeOnly 'mysql:mysql-connector-java' } application.yml 에 datasource를 작성했는데 빨간줄로 되어있는 경우가 있다. 원인은 build.gradle에서 관련 드라이버를 가져오지 못했기 때문이다. 해결 Build도 오류없이 잘 되었어도 이런 경우가 있는데 이럴 땐 mysql 버전을 확인해서 명시해주면 된다..! runtimeOnly 'mysql:mysql-connector-java:8.0.25' 빨간줄이 없어진것을 확인할 수 있다.
Springboot/Error 해결
2023. 11. 20. 20:31