[keycloak-user] Using java admin client with Wildfly
Eric B
ebenzacar at gmail.com
Sun Jun 10 20:57:13 EDT 2018
I'm using the client in my app, but need to explicitly add the resteasy
dependencies to the jboss-deployment-structure.XML file, pointing to the
resteasy modules in the wildfly folder.
On Sun, Jun 10, 2018, 3:43 PM Pedro Pedro, <sinsn_619 at abv.bg> wrote:
>
>
>
> Hi all,
>
>
>
>
> I am trying to use the admin client in maven project, but on startup
> fails with this:
>
>
>
>
>
>
> Caused by: java.lang.RuntimeException: Could not find constructor for
> class: org.keycloak.admin.client.resource.ServerInfoResource at
> org.jboss.resteasy.spi.metadata.ResourceBuilder.constructor(ResourceBuilder.java:683)
> at
> org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.registered(POJOResourceFactory.java:41)
> at
> org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:207)
> at
> org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:193)
> at
> org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:179)
> at
> org.jboss.resteasy.core.ResourceMethodRegistry.addResourceFactory(ResourceMethodRegistry.java:156)
> at
> org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:75)
> at
> org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:400)
> at org.jboss.restea
> sy.spi.ResteasyDeployment.start(ResteasyDeployment.java:241)
>
>
> Any ideas about this?
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list