반응형
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 |
Tags
- Flux
- PostgreSQL
- 도커
- bootstrap
- IntelliJ
- Airflow
- redis
- Spring
- COALESCE
- JavaScript
- or some instances in your deployment group are experiencing problems.
- AWS CI/CD 구축하기
- kubeflow
- codebuild
- chartjs
- Python
- docker
- Spring Error
- Jenkins
- node
- Kafka
- codepipeline
- VPN
- SQL
- codedeploy error
- aws cicd
- codedeploy
- chart.js
- java bigdecimal
- aws
Archives
- Today
- Total
Small Asteroid Blog
[Spring] Could not resolve placeholder 'datasource.host' in value 본문
백엔드/Spring
[Spring] Could not resolve placeholder 'datasource.host' in value
작은소행성☄️ 2023. 9. 22. 15:53728x90
프로젝트를 새로 만들면서 프로젝트 실행을 위해 빌드했는데
Could not resolve placeholder 'datasource.host' in value
해당 오류가 나면서 빌드 에러가 났다.
해결 방법은 생각보다 간단하다.
Edit Configuration > Environment variables 에
SPRING_PROFILES_ACTIVE 값을 추가 시켜 주면 된다.
application.yaml
spring:
devtools:
livereload:
enabled: true
restart:
enabled: false
config:
activate:
on-profile: local
728x90
반응형
'백엔드 > Spring' 카테고리의 다른 글
[Spring Batch] Spring Batch 기본 개념 및 용어 정리 (0) | 2023.09.30 |
---|---|
[Spring Batch] @JobScope 와 @StepScope 개념 및 예제 (0) | 2023.09.23 |
[Spring] Swagger Error - Failed to load API definition. (0) | 2023.08.17 |
[JPA] Swagger Error - [Request processing failed; nested exception is java.lang.NullPointerException] with root cause (0) | 2023.08.16 |
[Spring] Spring HATEOAS란 (0) | 2023.08.10 |