How to solve More than one fragment with the name [spring_web] was found. This is not legal with relative ordering.?

Viewed 12

I'm getting exception when running my spring boot application,

    Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering.
        at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2262)
        at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2220)
        at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1294)
        at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:986)
        at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:303)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5135)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

Please help. I'm deploying the war file in tomcat 9.0.65

0 Answers
Related