I am trying to use @Value annotation in the parameters of a constructor as follows:
@Autowired public StringEncryptor( @Value(\"${encryptor.password:\\\"\\\"
Perhaps initialization of property placeholder configurer fails due to missed properties file, so that placeholders are not resolved. You can configure it to ignore missed files as follows (if you use context namespace to configure it):
context
Also you don't need "..." around default values.
"..."