java.lang.IllegalArgumentException: Could not resolve placeholder 'foo' in value
程序员文章站
2022-06-17 11:50:13
...
错误( 如图1 所示 ):
原因( 如图2 所示 ):
如图3
配置文件名称和client的配置文件名称必须保持一致(配置文件名如下)
http请求地址和资源文件映射如下:
<!--[if !supportLists]-->· <!--[endif]-->/{ application}/{profile}[/{label}]
<!--[if !supportLists]-->· <!--[endif]-->/{ application}-{profile}.yml
<!--[if !supportLists]-->· <!--[endif]-->/ {label}/{application}-{profile}.yml
<!--[if !supportLists]-->· <!--[endif]-->/{ application}-{profile}.properties
<!--[if !supportLists]-->· <!--[endif]-->/{ label}/{application}-{profile}.properties
上一篇: java 反射 借助 asm 获取参数名称最优雅简单的方式
下一篇: jQuery实现div局部刷新
推荐阅读
-
Spring中报"Could not resolve placeholder"的解决方案
-
Spring中报"Could not resolve placeholder"的解决方案
-
java.lang.IllegalArgumentException: Could not resolve placeholder 'foo' in value
-
spring boot 提示 could not resolve placeholder in string value
-
【微服务】Springboot和ActiveMQ整合出现 Could not resolve placeholder 'xxx' in value "${xxx}"
-
spring cloud config 配置管理出现 Could not resolve placeholder 'hello' in value "${hello}"
-
nacos 获取配置失败 Could not resolve placeholder
-
Could not resolve placeholder 'master jdbc url' in string va
-
spring cloud远程配置 Could not resolve placeholder 'gname' in value "${gname}"
-
bug:Could not resolve placeholder ‘xxx‘ in value “${xxx}