I have the following property annotated with @Value. I have a default value defined using the default separator of ':"
@Value("${prop.url:http://myurl.com}")
Is there a way to escape the ':' in http://myurl.com
or do I have to define a different separator value in my configuration.
'http://myurl.com'
(single quotes part of the value). Simply removing the single quotes fixed it. If I would guess, it splits on the first colon and the first part is the variable; the remainder is the value. – Tashia