问题描述:
java.lang.IllegalArgumentException: Not enough variable values available to expand 'wechat.corpid'
问题分析:
1、使用@Value注解时使用错误。
@Value("{wechat.corpid}")
private String corpid;
解决办法:检测@Value注解格式是否正确。
@Value("${wechat.corpid}")
private String corpid;
更多推荐
Spring Boot Not enough variable values available to expand ‘xx.xx‘问题解决
发布评论