일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- chart.js
- Kafka
- Spring
- docker
- COALESCE
- Jenkins
- redis
- Airflow
- kubeflow
- 도커
- codedeploy error
- aws
- aws cicd
- bootstrap
- PostgreSQL
- codebuild
- codepipeline
- Flux
- or some instances in your deployment group are experiencing problems.
- SQL
- Python
- VPN
- Spring Error
- codedeploy
- java bigdecimal
- node
- AWS CI/CD 구축하기
- IntelliJ
- chartjs
- Today
- Total
목록Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. (2)
Small Asteroid Blog

spring boot 처음실행 시 다음과 같은 에러가 났다. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. application.properties 에 JDBC url 을 추가해준다. [mysql] spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localhost:3306/[DB스키마명]?autoReconnect=true spring.datasource.username=[DB접속Id] spring.datasource.password..

다음과 같은 오류를 만나면 DB 정보가 입력되지 않아 생기는 오류이므로 application.properties 에 아래 코드를 입력해주면 된다. spring.datasource.driver-class-name=org.mariadb.jdbc.Driver spring.datasource.url=jdbc:mariadb://localhost:3306/database이름?characterEncoding=UTF-8&serverTimezone=UTC spring.datasource.username= spring.datasource.password=