Uploaded image for project: 'CAS Server'
  1. CAS-1380

Module "cas-server-webapp-support" pulls in stale Spring dependencies that crash CAS


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 RC3
    • Fix Version/s: 4.0, 4.0 RC4
    • Component/s: None
    • Labels:
    • Environment:
      Windows 8.1
      Oracle JDK 7u45
      Apache Tomcat 7.0.42


      If you include the "cas-server-webapp-support" module in a WAR overlay project it pulls in Spring modules from version 3.0.x or which is incompatible with the Spring 3.2.2 modules pulled in by the rest of CAS.

      When you launch the CAS webapp it fails to initialize and the logs are filled with NoSuchMethod or NoSuchField exceptions. The exact errors seem to depend on what other dependencies you might have included, as other modules could pull in newer Spring JARs and mask the problem partially or fully.

      Attached is a minimal test case to reproduce the problem. Put the attached pom.xml in a new directory, then run "mvn package" and put the resulting WAR in a vanilla Tomcat instance configured for HTTPS.

      Attached is a Tomcat log file containing the errors produced by the above test case on my machine.

      Could you update the dependencies of "cas-server-webapp-support" before 4.0 is out?




            • Assignee:
              mmoayyed Misagh Moayyed
              grnch Ivan Todoroski
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: