[keycloak-user] admin-client binary and dependencies

Dmitry Telegin dt at acutus.pro
Fri Jul 6 03:01:40 EDT 2018


Hi Thai,

Is this correct that you're on OSGi? In non-OSGi environments, it's
sufficient to declare org.keycloak:keycloak-admin-client only, it
should pull the rest (see examples/admin-client).

Dmitry

On Thu, 2018-07-05 at 11:42 -0400, Nhut Thai Le wrote:
>  Hello,
> 
> Where can i get the binaries of the admin-client and its dependency
> for KC
> 4.0.0.Final? I added the following jars from mavencentral  to my
> package:
> javax.ws.rs-api,\
> org.jboss.resteasy:resteasy-jackson2-provider,\
> org.jboss.resteasy:resteasy-jaxrs,\
> org.apache.commons.lang3,\
> org.keycloak:keycloak-admin-client,\
> org.keycloak.keycloak-core,\
> org.jboss.resteasy:resteasy-client,\
> org.jboss.resteasy:resteasy-multipart-provider,\
> org.jboss.resteasy:resteasy-jaxb-provider,\
> org.eclipse.equinox.supplement,\
> com.castortech.iris.security;version=latest,\
> org.keycloak:keycloak-server-spi-private,\
> org.keycloak:keycloak-server-spi,\
> org.keycloak.keycloak-common,\
> org.eclipse.emf.common,\
> javax.annotation-api,\
> com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider
> 
> But i still get error:
> javax.ws.rs.ProcessingException: RESTEASY003215: could not find
> writer for
> content-type application/x-www-form-urlencoded type:
> javax.ws.rs.core.Form$1
> 
> When calling .realms().findAll()
> 
> Thai
> 


More information about the keycloak-user mailing list