Search code examples
javamaventomcatweb.xmlcas

No web.xml when overlaying Apereo CAS 5


I overlayed CAS 4.x (tried x=1 and 2) and the war is working perfectly, the web.xml is being downloaded and war is being deployed.

However, when running CAS 5.0.3.1 and higher versions, there is no web.xml in the overlayed war that is being prepared.


Solution

  • Solution : It was extremely stupid of me to presume a Spring boot application would have a web.xml.

    I'm supposed to run the war like a regular jar :

    java - jar cas.war
    

    And not inside a web application container.