I am trying to use properties from a .properties file, but it doesn\'t seem to work.
Here is my code:
@Service(\"ServiceFTP\")
@Transact
You can also try default values. spring-value-annotation
Default values can be provided for properties that might not be defined. In this example the value “some default” will be injected:
@Value("${unknown.param:some default}")
private String someDefault;
If the same property is defined as a system property and in the properties file, then the system property would be applied.