spring-boot
spring-boot copied to clipboard
Error message can be misleading if spring.config.import fails to resolve
See #35683.
Given:
spring.config.import = exmple:some-path
We'll get the error:
Caused by: java.lang.IllegalStateException: File extension is not known to any PropertySourceLoader. If the location is meant to reference a directory, it must end in '/' or File.separator
Which is somewhat misleading.
Is someone working on it . I would like contribute . Please let me know that what message are we expecting .
Thanks for the offer, @ramanpopli. Unfortunately, I think this one will be quite tricky to fix and we're not yet really sure how to do it. If you’d like to work on an issue where we provide some guidance, please watch for one labelled as ideal for contribution or, if you haven’t contributed before, first-timers only.
Thanks @wilkinsona for guiding . Ill look into some other issues .