Spring Boot: URL to file in src/main/resources not found in Docker container
I have a Spring Boot backend application which has following part in the application.properties: token.json_file_url=${TOKEN_JSON_FILE_URL:file:src/main/resources/localdev/user-claims.json} ${TOKEN_JSON_FILE_URL} env variable is not set, so the default file:src/main/... is in effect. In a bundled library it's used like this when a REST call…