Describe the bug
I'm trying to launch an app with consul as a config center, but it failed with the error:
File extension is not known to any PropertySourceLoader.
BTW the properties has been loaded successfully due to my log but the app failed to launch.
Describe the bug I'm trying to launch an app with consul as a config center, but it failed with the error: File extension is not known to any PropertySourceLoader.
BTW the properties has been loaded successfully due to my log but the app failed to launch.
Sample application.yml:
with JAVA_OPTS=-Dspring.config.import=consul: