Tomcat fails to start with XML parsing error after upgrading Spring

Solution Verified - Updated -


  • After upgrading the Spring libraries, Tomcat fails to start with error:

    03-Apr-2019 **:**:**.234 SEVERE [main] org.apache.tomcat.util.digester.Digester.warning Parse warning at line [5] column [41]
    03-Apr-2019 **:**:**.248 SEVERE [main] org.apache.tomcat.util.digester.Digester.error Parse error at line [5] column [41]
    org.xml.sax.SAXParseException; systemId: jar:file:/Install/path/webapps/ROOT/WEB-INF/lib/spring-web-4.3.23.RELEASE.jar!/META-INF/web-fragment.xml; lineNumber: 5; columnNumber: 41; cvc-elt.1: Cannot find the declaration of element 'web-fragment'.
    at  ...


  • Red Hat JBoss Web Server (JWS)
    • 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In