[keycloak-dev] 1.9.4.Final and 1.9.5.Final throw NoClassDefFoundError for SOAP

Stian Thorgersen sthorger at redhat.com
Wed Jun 1 14:44:12 EDT 2016


Have you tried SAML ECP with any older versions of Keycloak with success?

Can you try adding dependency on javax.xml.soap.api
to layers/keycloak/org/keycloak/keycloak-services/main/module.xml?

On 1 June 2016 at 20:29, John Dennis <jdennis at redhat.com> wrote:

> We've been trying to test SAML ECP with the last 2 Keycloak releases and
> we are getting a server 500 error caused by a NoClassDefFoundError for
> javax/xml/soap/MessageFactory. The odd thing is that the class is in one of
> the jars:
>
> % jar -tf
> modules/system/layers/base/javax/xml/soap/api/main/jboss-saaj-api_1.3_spec-1.0.3.Final.jar
>
> lists
>
> javax/xml/soap/MessageFactory.class
>
> Can someone explain what is going on or how to fix it?
>
> Attached (so the mailer does not mangle it) is the exception in the
> server.log file
>
> --
> John
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160601/dc816e3b/attachment.html 


More information about the keycloak-dev mailing list