title: More than one fragment with the name [spring_web] was found
body: <p>Got this while deploying the spring boot war on tomcat. 
  Anyone got this error
  I have below steps :</p>
  
  <p>Pom.xml :
      
          
              org.springframework.boot
              spring-boot-starter-web
              
                  
                      org.springframework.boot
                      spring-boot-starter-tomcat
                  
              
          </p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-tomcat&lt;/artifactId&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>Main Class :</p>
  
  <pre><code>@SpringBootApplication
  public class MainApp extends SpringBootServletInitializer{
  
      @Override
      protected SpringApplicationBuilder configure (SpringApplicationBuilder builder) {
          return builder.sources(MainApp.class);
      }
  
      public static void main(String[] args) {
          SpringApplication.run(MainApp.class, args);
      }
  
  }
  </code></pre>