More than one fragment with the name [spring_web] was found. This is not legal with relative ordering
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
Spring Boot : java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found
Finally i found some solution, it looks like there was some spring dependency conflicts was there.So what i was done is simple recreated the project with another name, then it started to work and the error also gone.
Another possible solution is to clean your server in the right way(I haven't tried that, but i think it will work).
Use below command in your intelliJ terminal.
Gradle clean and build command inside project folder :
gradlew clean build
2.To refresh dependencies :
gradlew --refresh-dependencies
Also check your tomcat/webapps/Project/WEB-INF/lib/
folder for dependency conflict during library upgrade.
More than one fragment with the name [spring_web] was found. This is not legal with relative ordering
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
Related Topics
Oracle Jdbc Intermittent Connection Issue
Numeric Textfield for Integers in Javafx 8 with Textformatter And/Or Unaryoperator
Configure Datasource Programmatically in Spring Boot
Reading and Displaying Data from a .Txt File
How to Get a List of Trusted Root Certificates in Java
How to Create New Xml File from Existing Database in Postgresql Database Using Java
Java: Import Statement VS Fully Qualified Name
Using Two Values for One Switch Case Statement
Auto-Wiring a List Using Util Schema Gives Nosuchbeandefinitionexception
Looking for Java Spell Checker Library
What Does Super.Paintcomponent(G) Do
Observer Is Deprecated in Java 9. What Should We Use Instead of It
Absolute Minimum Code to Get a Valid Oauth_Signature Populated in Java or Groovy
Why Does Collections.Sort Use Mergesort But Arrays.Sort Does Not
How to Quickly Determine If a Method Is Overridden in Java
Why Does Java's Java.Time.Format.Datetimeformatter#Format(Localdatetime) Add a Year