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>