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

We Are Going To Discuss About More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. So lets Start this Java Article.

Advertisements
  1. More than one fragment with the name [spring_web] was found. This is not legal with relative ordering

    Cleaning the server worked for me. Just do the following :
    Right click on the server -> Clean.
    Then redeploy the app on the server.

  2. More than one fragment with the name [spring_web] was found. This is not legal with relative ordering

    Cleaning the server worked for me. Just do the following :
    Right click on the server -> Clean.
    Then redeploy the app on the server.

Solution 1

Advertisements

add <absolute-ordering /> tag to your web.xml just under the <display-name> tag.
should work.

Original Author Of This Content

Solution 2

Advertisements

Cleaning the server worked for me. Just do the following :

Right click on the server -> Clean.

Then redeploy the app on the server.

Original Author Of This Content

Solution 3

Advertisements

Sounds like you have two different versions of Spring, check your dependencies to see if you have a dependency to another Spring-version.

mvn dependency:tree -Dverbose -Dincludes=groupId:artifactId

Original Author Of This Content

Solution 4

Advertisements

This error seems to happen after project’s spring framework update, clearing the project history file in tomcat webapps may solve the problem.

Original Author Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

Siddharth

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment