[keycloak-user] Cannot create Drolls policy.
Charlee Chitsuk
charlee.ch at gmail.com
Wed Jul 6 03:48:35 EDT 2016
Hi,
I'm using the keycloak version 2.0.0.Final with default standalone. I've
build and install the maven artifact, the
"org.keycloak:photoz-authz-policy:2.0.0.Final" and tried to create the
Drools policy. as the following
mavenArtifactGroupId = org.keycloak
mavenArtifactId = photoz-authz-policy
mavenArtifactVersion = 2.0.0.Final"
When I click the "Resolve" button, the system shows me as "Error! An
unexpected server error has occurred"
The "standalone/log/server.log" also shows as
[io.undertow.request] (default task-80) UT005023: Exception handling
request to
/auth/admin/realms/photoz/clients/001e0705-8bc6-47de-b408-dd07a5ebba9b/authz/resource-server/policy/drools/resolveModules:
org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError:
org/apache/commons/codec/binary/Base64
at
org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
...
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/codec/binary/Base64
at org.apache.http.impl.auth.BasicScheme.authenticate(BasicScheme.java:168)
I can ensure that
1. The "commons-codec-1.10.jar" is existed at
"modules/system/layers/base/org/apache/commons/codec/main"
2. The "org.keycloak:photoz-authz-policy:2.0.0.Final" is existed at my
local repository at
"some/drive/m2/repo/org/keycloak/photoz-authz-policy/2.0.0.Final/photoz-authz-policy-2.0.0.Final.jar".
Could you please help to advise further?
--
Best Regards,
Charlee Ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160706/24232e81/attachment.html
More information about the keycloak-user
mailing list