title: Spring boot 2.0.6 quartz missing org/springframework/scheduling/quartz/SpringBeanJobFactory in war
body: <p>Using spring boot war build during the start up of the application in the tomcat</p>
  
  <pre><code>Caused by: java.io.FileNotFoundException: class path resource [org/springframework/scheduling/quartz/SpringBeanJobFactory.class] cannot be opened because it does not exist
  at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:180)
  </code></pre>
  
  <p>even though it exists as a dependency</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-quartz&lt;/artifactId&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>And also <code>spring-context-support</code></p>
  
  <p>There are no issues with spring boot jar build and run</p>
  
  <p>How to fix the issue for the war deployment?</p>
  
  <p>This is what I get when debugging jar file - maybe this might help: (with war file ClassNotFoundException)</p>
  
  <p><a href="https://i.stack.imgur.com/H6XLr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H6XLr.png" alt="enter image description here"></a></p>