Closed sunmingtao closed 5 years ago
@Value("${keycloak.config.file}") private Resource resourceFile;
VM argument: -Dkeycloak.config.file=/Users/msun/keycloak-local.json
-Dkeycloak.config.file=/Users/msun/keycloak-local.json
If the file is not on classpath, it needs to be prefixed with "file:", so... -Dkeycloak.config.file=file:/Users/msun/keycloak-local.json
-Dkeycloak.config.file=file:/Users/msun/keycloak-local.json
VM argument:
-Dkeycloak.config.file=/Users/msun/keycloak-local.json