title: Spring-boot Gradle shadow jar plugin | missing EmbeddedServletContainerFactory
body: <p>I setup up a simple web project in spring boot with only the <code>compile("org.springframework.boot:spring-boot-starter-web")</code> dependency . When I used <code>gradlew bootRun</code>, the application starts up and I am able to get the webpage. If a fat jar is created either manually or through shadow plugin, the jar file refuses to start citing <code>EmbeddedServletContainerFactory</code> missing. Am I missing some other dependencies. The jar task is modified as </p>
  
  <pre><code>jar {
      from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
  }
  </code></pre>