I have one property file config.properties which is configured using spring property placeholder. This is how it's configured in my spring configuration file:
<context:property-placeholder location="classpath:properties/config.properties"/>
Now I need to set its value to static field using @Value annotation.
@Value("${outputfilepath}")
private static String outputPath;
How can I achieve this?