[keycloak-user] example: authenticator-required-action-example

Christian Froehlich christian.froehlich at agfa.com
Tue Jan 17 05:37:17 EST 2017


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


More information about the keycloak-user mailing list