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
- db 인덱스 개념
- 인덱스 예시
- 순열조합
- graphql 장단점
- graphql 비교
- 백트래킹자바
- 대칭키 비대칭키
- 멀티프로세스 멀티스레드
- 백트래킹java
- crypto 0이상 1미만
- javascript 난수생성
- crypto.getrandomvalues() 부동소수점
- 순열java
- 오블완
- 인덱스 알고리즘
- 티스토리챌린지
- graphql 예시
- cors동작방식
- 중복순열중복조합
- javascript crypto
- crypto 난수생성
- cors시나리오
- 백트래킹알고리즘
- 조합java
- 백트래킹
- sop cors
- crypto.getrandomvalues()
- 순열조합중복순열중복조합
- 이해할때까지안잔다
- cors origin
Archives
- Today
- Total
물흐르듯코딩
Could not resolve all files for configuration: 'bootJarMainClassName'. Could not find mysql:mysql-connector-java 빌드 오류 해결 본문
BE
Could not resolve all files for configuration: 'bootJarMainClassName'. Could not find mysql:mysql-connector-java 빌드 오류 해결
AquaDev 2024. 5. 2. 15:11
스프링 부트 버전을 2.7.12로 업데이트 후 빌드 할 때 아래와 같은 오류가 반복적으로 나타났다.
Execution failed for task ':common-config:bootJarMainClassName'. > Could not resolve all files for configuration ':common-config:runtimeClasspath'. > Could not find mysql:mysql-connector-java:. Required by: project :common-config > project :common-data |
Could not find mysql:mysql-connector-java ..?
build.grdle에 있는 mysql-connector-java 의존성을 찾지 못하는 듯했다.
spring boot 2.7 Release Note를 찾아 그 원인을 찾을 수 있었다.
2.7.8 이상부턴 mysql-connector-java가 아닌 com.mysql:mysql-connector-j 의존성을 사용한다는 것이었다.
build.grdle runtimeOnly를 수정하여 해당 오류를 해결했다!
runtimeOnly 'com.mysql:mysql-connector-j'
📜 Spring boot 2.7 Release Notes
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.7-Release-Notes
Spring Boot 2.7 Release Notes
Spring Boot. Contribute to spring-projects/spring-boot development by creating an account on GitHub.
github.com
🏷 참고
https://luvstudy.tistory.com/221
https://titlejjk.tistory.com/264
'BE' 카테고리의 다른 글
[Docker] permission denied while trying to connect to the Docker daemon socket at unix - docker 권한 거부 에러 해결 (0) | 2024.05.07 |
---|---|
Spring Cloud OpenFeign Https 에러 해결 - SSL Ignore (0) | 2024.04.26 |
[SSL] 자바 SSL 인증서 파일 등록 (keytool) (0) | 2024.04.23 |
[Linux] sftp 포트 설정 (0) | 2024.04.12 |