Could not resolve placeholder 'guestname' in value "${guestname}"
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientStartUp': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'guestname' in value "${guestname}"
為什么同樣的代碼,我的就是這個結果呢?哭暈
2020-03-30
我的bootstrap.yml文件也加載不到,最后我在client里,添加了如下依賴,啟動正常。
我的Cloud版本是:Finchley.RELEASE。
其他配置信息:
springboot 版本
springcloud版本
spring cloud config
2020-02-07
大佬,后面怎么解決的,我也是這個問題
2019-11-21
server 和client 都要啟動。
2019-11-17
我在client-dev.ym文件中guestname:的后面有一個空格就可以了
2019-11-01