반응형
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
- codepipeline
- redis
- Airflow
- java bigdecimal
- Python
- chart.js
- codebuild
- Spring Error
- COALESCE
- bootstrap
- 도커
- aws
- docker
- node
- IntelliJ
- PostgreSQL
- Kafka
- Spring
- JavaScript
- aws cicd
- codedeploy
- or some instances in your deployment group are experiencing problems.
- kubeflow
- SQL
- Jenkins
- Flux
- codedeploy error
- chartjs
- AWS CI/CD 구축하기
- VPN
Archives
- Today
- Total
Small Asteroid Blog
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 본문
도구/Intellij
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
작은소행성☄️ 2021. 10. 7. 09:19728x90
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접속Password]
[postgres]
spring.datasource.driverClassName=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/[DB스키마명]?characterEncoding=UTF-8&serverTimezone=UTC
spring.datasource.username=[DB접속Id]
spring.datasource.password=[DB접속Password]
728x90
반응형
'도구 > Intellij' 카테고리의 다른 글
[Intellij] Intellij에서 jupyter notebook 연결 (0) | 2021.10.20 |
---|---|
[Intellij] python interpreter configure 설정하기 (자바에서 파이썬 실행하기) (0) | 2021.10.20 |
[intellij] db 연결 - intellij에 database연결해서 사용하기 (0) | 2021.04.27 |
Intellij 프로젝트 생성 (0) | 2021.04.14 |
intellij 단축키 (0) | 2021.04.02 |