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

Description

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?

Environment

Windows 8.1
Oracle JDK 7u45
Apache Tomcat 7.0.42

Status

Assignee

Misagh Moayyed

Reporter

Ivan Todoroski

Labels

None

Estimated End Date

None

Audience

None

Fix versions

Affects versions

4.0 RC3

Priority

Major