@Value' not applicable to field code example Example: @value annotation spring @Value("${value.from.file}")private String valueFromFile;