I am trying to point at path to external configuration file like this:
--spring.config.location=file: C:/Users/some_user/workspace/repository1/payment-api/payment.yml
and it doesn't work. Any idea why?
The proper prefix is file://. On Windows you need an extra "/" in the file URL if it is absolute with a drive prefix
Try file:///C:/Users/some_user/workspace/repository1/payment-api/payment.yml instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With