Could not resolve placeholder 'developer' in value "${developer}""${env}"

来源:6-3 Config Client

younghare3334196

2019-09-20

图Could not resolve placeholder 'developer' in value "${env}"片描述

错误信息:
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder ‘developer’ in value "${developer}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:178) ~[spring-core-5.1.9.RELEASE.jar:5.1.9.RELEASE]

写回答

1回答

慕粉2316308699

2019-09-21

项目启动环境必须与你配置的env环境一致,在项目启动配置设置对应的环境

0
0

SpringCloud Finchley(M2+RELEASE+SR2)微服务实战

SpringCloud组件实现微服务,【已升级Finchley.Release】

5668 学习 · 2489 问题

查看课程