title: Start Jetty application but "java.lang.IllegalStateException: Duplicate fragment name"
body: <p>Sorry if duplicated. </p>
  
  <p>I am using gradle to build my .war file and start my application using Jetty. But I see this error message</p>
  
  <pre><code>java.lang.IllegalStateException: Duplicate fragment name: spring_web for jar:file:/private/var/folders/r7/z7yqbhx10wl9kyw738crggdd0zwztx/T/jetty-0.0.0.0-8080-application-1.0.war-_pplication-1.0-any-/webapp/WEB-INF/lib/spring-web-4.1.9.RELEASE.jar!/META-INF/web-fragment.xml and jar:file:/private/var/folders/r7/z7yqbhx10wl9kyw738crggdd0zwztx/T/jetty-0.0.0.0-8080-cpplication-1.0.war-_pplication-1.0-any-/webapp/WEB-INF/lib/spring-web-4.1.9.RELEASE.jar!/META-INF/web-fragment.xml
  </code></pre>
  
  <p>I already did some research on internet, but all are talking about jetty-maven-plugin and the solution is to add <code>"&lt;allowDuplicateFragmentNames&gt;true&lt;/allowDuplicateFragmentNames&gt;"</code> to webAppConfig. But in my application I don't have webAppConfig. Is this only for Maven? How to solve this if I am using Gradle?</p>
  
  <p>Thanks!</p>