org.keycloak.services.validation.Validation is in the module named
"org.keycloak.keycloak-services". Note that the classes in services
module might change in the future.
On Tue, Jul 25, 2017 at 3:25 AM, Geadah, Nicolas (VEC)
<Nicolas.Geadah(a)vec.virginia.gov> wrote:
I built a custom FormAction/FormActionFactory to provide additional
behavior in the registration flow. I'm able to build the JAR, deployment to JBoss
works, and the action shows up in the "add execution" in the admin console.
Now when going through the registration process, the FormAction is definitely triggered
but an immediate error is thrown:
org.jboss.resteasy.spi.UnhandledException: java.lang.NoClassDefFoundError:
org/keycloak/services/validation/Validation
Seems like something missing in my jboss-deployment-structure.xml file? Here is the file
as it stands currently - what do I need to add for the necessary module to be loaded?
This is in RHSSO 7.1.
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.keycloak.keycloak-server-spi-private" />
</dependencies>
</deployment>
</jboss-deployment-structure>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user
--
--Hynek