Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException:

阅读 135

2022-07-27


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.configClientController': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'config.info' in value "${config.info}"

解决:
springcloud整合nacos配置中心,找不到配置文件中的信息,检查bootstrap.yml文件,修改group与nacos界面上的一致,或者删掉group。


精彩评论(0)

0 0 举报