Could not resolve placeholder 'token.header' in value "${token.header}"
时间: 2023-12-15 15:06:36 浏览: 273
Could not resolve com.huawei.agconnect agcp-1.6.x.xxx
Could not resolve placeholder ‘token.header’ in value "${token.header}"是Spring Boot项目启动时的错误信息,这个错误通常是因为配置文件中的占位符没有正确地解析导致的。占位符的格式应该是${key},其中key是对应配置文件中的属性名。在这个错误信息中,'token.header'是一个占位符,指示应该从配置文件中获取名为token.header的属性值,但是在配置文件中找不到对应的属性,所以就无法解析占位符,最终导致错误的发生。要解决这个问题,可以检查配置文件中是否存在名为token.header的属性,并确保其值被正确设置。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [spring boot Could not resolve placeholder ‘xxx‘ in value ${xxx}](https://blog.csdn.net/Qfoom/article/details/115732997)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [【解决方法汇总】SpringBoot项目报错 Could not resolve placeholder ‘‘ in value “${}](https://blog.csdn.net/yu1812531/article/details/123466616)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文