You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. This is working as designed so I think we should update the documentation. We should note that a file extension is required to identify which loader should handle the file. This applies both to a location that points to an individual file and to the files in a directory that is specified as the config location.
Actually, let's do two things. In addition to updating the documentation which we can do now, we can also consider adding support for loading configuration from files with no extension so that you don't have to rename the file to get it to work. I've opened #22280 to track that.
wilkinsona
changed the title
Not reading properties for property file passed by -Dspring.config.location=<property file>
Document the need for configuration files to have a file extension
Jul 9, 2020
Not reading properties for property file passed by
-Dspring.config.location=<property file>
, where<property file>
does not have any extension.Reproduce: Execute the the following example command -
Where
/mount/application-secret-property
does not have any extensionRelated discussions:
The text was updated successfully, but these errors were encountered: