Property or field 'xxxxxxxxx' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext' - maybe not public or not valid?
The solution is just you should read value like below.
@Value("${your.prop.name}")
private List<String> userIdList;
I just removed # symbol from there and its working fine as expected.
The solution is just you should read value like below.
@Value("${your.prop.name}")
private List<String> userIdList;
I just removed # symbol from there and its working fine as expected.
No comments:
Post a Comment