반응형
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 | 31 |
Tags
- Spring Error
- JavaScript
- bootstrap
- node
- Jenkins
- SQL
- codedeploy error
- codedeploy
- java bigdecimal
- chart.js
- aws
- aws cicd
- redis
- IntelliJ
- codebuild
- AWS CI/CD 구축하기
- Airflow
- openlens
- PostgreSQL
- VPN
- Spring
- chartjs
- docker
- 도커
- Flux
- codepipeline
- Kafka
- Python
- COALESCE
- kubeflow
Archives
- Today
- Total
Small Asteroid Blog
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 본문
백엔드/Spring
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
작은소행성☄️ 2021. 4. 22. 15:10728x90

다음과 같은 오류를 만나면
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=
728x90
반응형