Open imran-raza opened 8 years ago
Had the same issue, simply update the keycloak version to a final one, e.g. '1.3.0.Final' is the closest to the used snapshot version. Tested it and works.
chvndb's solution works.
Hi,
I've the same problem and get the following error message with "Bad Gateway":
FAILURE: Build failed with an exception.
What went wrong: Could not resolve all dependencies for configuration ':database-service:compile'.
Could not resolve org.keycloak:keycloak-spring-security-adapter:1.2.1.Smartling-SNAPSHOT. Required by: org.keycloak.springsecurity.demo:database-service:unspecified Unable to load Maven meta-data from https://repo.fugu.io/artifactory/ext-snapshot-local/org/keycloak/keycloak-spring-security-adapter/1.2.1.Smartling-SNAPSHOT/maven-metadata.xml. Could not GET 'https://repo.fugu.io/artifactory/ext-snapshot-local/org/keycloak/keycloak-spring-security-adapter/1.2.1.Smartling-SNAPSHOT/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Is there an other way to solve the problem.
Thank you. Best regards.
Having the same issue:
FAILURE: Build failed with an exception.
- What went wrong: Could not resolve all dependencies for configuration ':database-service:compile'.
Could not resolve org.keycloak:keycloak-spring-security-adapter:1.2.1.Smartling-SNAPSHOT. Required by: org.keycloak.springsecurity.demo:database-service:unspecified Unable to load Maven meta-data from https://repo.fugu.io/artifactory/ext-snapshot-local/org/keycloak/keycloak-spring-security-adapter/1.2.1.Smartling-SNAPSHOT/maven-metadata.xml. Could not GET 'https://repo.fugu.io/artifactory/ext-snapshot-local/org/keycloak/keycloak-spring-security-adapter/1.2.1.Smartling-SNAPSHOT/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
I'm already on a Final version keycloak-3.4.1.Final
Hello guys,
I have the same problems when running Keycloak-3.4.1.Final
So I decide to build an updated version of it based on object marshaling , custom converters, custom filter ...
You can find the project on my personal github account keycloak-multi-modules-spring-security
Waiting for your comments and advises ! ☺️
@hosnimed So you did not really pinpoint what caused the issue ?
There a lot of problem caused the issue, in nutshell :
I use in build.gradle
maven { url "https://mvnrepository.com/artifact/" } //at subprojects repositories ext { keycloakVersion = '1.3.1.Final' keycloakExtrasVersion = '0.3.0-RELEASE' resteasyVersion = '3.0.10.Final' springVersion = '4.1.6.RELEASE' springBootVersion = '1.2.3.RELEASE' springSecurityVersion = '3.2.7.RELEASE' }
and work.
FAILURE: Build failed with an exception.
What went wrong: Could not resolve all dependencies for configuration ':database-service:compile'.
BUILD FAILED