Hi,
Seems to be the same problem as described (and solved) in attached mail. So try to include
in server-spi-private.package depency.
-----Original Message-----
From: keycloak-user-bounces(a)lists.jboss.org [mailto:keycloak-user-bounces@lists.jboss.org]
On Behalf Of Christian Froehlich
Sent: Tuesday, January 17, 2017 11:37 AM
To: keycloak-user(a)lists.jboss.org
Subject: [keycloak-user] example: authenticator-required-action-example
Hi,
I read the documentation of the Authentication SPI and I tried to get the example
running like it is described in the README.md file but I got the following error when I
deploy it to my local keycloak server:
-----------------------------------
[ERROR] Failed to execute goal
org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Beta1:deploy (default-cli) on project
authenticator-required-action-example: Failed to execute goal
deploy: {"WFLYC
TL0062: Composite operation failed and was rolled back. Steps that failed:" =>
{"Operation step-1" => {"WFLYCTL0080: Failed services" =>
{"jboss.deployment.unit.\"authenticator-required-action-
example.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in
service
jboss.deployment.unit.\"authenticator-required-action-example.jar\".POST_MODULE:
WFLYSRV0153: Failed to process ph
ase POST_MODULE of deployment
\"authenticator-required-action-example.jar\"
[ERROR] Caused by: java.lang.NoClassDefFoundError: Failed to link
org/keycloak/examples/authenticator/SecretQuestionRequiredActionFactory
(Module \"deployment.authenticator-required-action-exam
ple.jar:main\" from Service Module Loader):
org/keycloak/authentication/RequiredActionFactory"}}}}
-----------------------------------
What I did:
Download and unzip the current version of keycloak 2.5.0.Final and start
the server
checkout the master branch of the keycloak repo, navigate to the
corresponding sub directory of the example
execute mvn clean install wildfly:deploy like it is described in the
README.md of the artifact
I also tried to get it running with the git revision that is tagged with
"2.5.0.Final", but with the same error.
Do I miss something? Any help is welcome!
Kind Regards and thanks in advance
Christian
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user