Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-45228

SAMLBootstrap class throws NoClassDefFoundError.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 21.0, 22.0 [Tentative]
    • Component/s: Login
    • Labels:
    • Environment:
      Upgraded instance to 21.x using SAML authentication
    • 21 Status:
      Resolved
    • Test Plan:
      Hide

      Update spring-security-saml2-core to 1.0.10 and redeploy the login tool

      Should no longer get the error

      Show
      Update spring-security-saml2-core to 1.0.10 and redeploy the login tool Should no longer get the error

      Description

      Startup fails for instances using SAML authentication with the following error:

       

      23-Mar-2021 11:52:07.021 WARN [Catalina-utility-1] org.springframework.web.context.support.XmlWebApplicationContext.refresh Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.saml.SAMLBootstrap#0' defined in ServletContext resource [/WEB-INF/nd-dev.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.saml.SAMLBootstrap]: No default constructor found; nested exception is java.lang.NoClassDefFoundError: org/springframework/beans/factory/access/BootstrapException
      

      This has been addressed here:

      https://github.com/spring-projects/spring-security-saml/issues/211

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                karagon Kenneth Aragon
                Reporter:
                karagon Kenneth Aragon
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration