could not resolve placeholder.
时间: 2023-08-22 15:12:14 浏览: 157
"Could not resolve placeholder"错误通常是由于使用了多个PropertyPlaceholderConfigurer或多个<context:property-placeholder>导致的。\[1\]\[2\]\[3\] 这种错误可能是由于配置文件路径错误、拼写错误,或者是多个PropertyPlaceholderConfigurer与<context:property-placeholder>混合使用引起的。请检查你的配置文件,确保只使用一个PropertyPlaceholderConfigurer或一个<context:property-placeholder>标签,并且确保配置文件路径和属性名称正确无误。
#### 引用[.reference_title]
- *1* *2* [Spring中报"Could not resolve placeholder"的解决方案](https://blog.csdn.net/linwei_1029/article/details/6873764)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Could not resolve placeholder 解决方案](https://blog.csdn.net/u012039409/article/details/77088653)[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^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文