Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException
- 2019-11-11 10:01:00
- admin 原创
- 9885
Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'didispace.title' in value "${didispace.title}"
再用nacos做为配置中心的时候提示这个,最开始怀疑我的value参数有问题,最后对了几遍,发现pom.yml中缺少了配置文件
<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> </dependency>
发表评论
文章分类
联系方式
联系人: | 郑州-小万 |
---|---|
电话: | 13803993919 |
Email: | 1027060531@qq.com |
QQ: | 1027060531 |
网址: | www.wanhejia.com |
Update Required
To play the media you will need to either update your browser to a recent version or update your Flash plugin.