valu注解取值
@Value("${cupSize}") 为啥我写上就报错呢 但是单独给@Value("${cupSize:B}")一个值就可以java.lang.IllegalArgumentException: Could not resolve placeholder 'cupSize' in value "${cupSize}"
@Value("${cupSize}") 为啥我写上就报错呢 但是单独给@Value("${cupSize:B}")一个值就可以java.lang.IllegalArgumentException: Could not resolve placeholder 'cupSize' in value "${cupSize}"
2017-09-19
举报