title: Spring 2.5 + quartz java.lang.NoClassDefFoundError: org/quartz/JobDetail
body: <p>I have an issue with quartz library. I'm using it with spring 2.5:</p>
  
  <pre><code>&lt;bean id="reminderBean" class="com.mail.timexis.ReminderBean"&gt;
          &lt;property name="mailSender"&gt;
              &lt;ref local="timexisMailSender" /&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  
      &lt;bean id="jobDetail"
          class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"&gt;
          &lt;property name="targetObject" ref="reminderBean" /&gt;
          &lt;property name="targetMethod" value="execute" /&gt;
      &lt;/bean&gt;
  
      &lt;bean id="cronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"&gt;
          &lt;property name="jobDetail" ref="jobDetail" /&gt;
          &lt;!-- run every morning at 6 AM --&gt;
          &lt;property name="cronExpression" value="* * * * * ?" /&gt;
      &lt;/bean&gt;
  
      &lt;bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"&gt;
          &lt;property name="triggers"&gt;
              &lt;list&gt;
                  &lt;ref bean="cronTrigger" /&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p>Maven:</p>
  
  <pre><code>&lt;dependency&gt;
              &lt;groupId&gt;org.quartz-scheduler&lt;/groupId&gt;
              &lt;artifactId&gt;quartz&lt;/artifactId&gt;
              &lt;version&gt;1.8.4&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;commons-collections&lt;/groupId&gt;
              &lt;artifactId&gt;commons-collections&lt;/artifactId&gt;
              &lt;version&gt;3.2&lt;/version&gt;
          &lt;/dependency&gt;
  </code></pre>
  
  <p>And when i run tomcat it cannot instantiate "jobDetail" bean because it can't see JobDetail class used by MethodInvokingJobDetailFactoryBean class <code>( Caused by: java.lang.NoClassDefFoundError: org/quartz/JobDetail)</code></p>
  
  <p>Maven downloads the jars and i can see it under MavenDependencies and I can find the JobDetail class. </p>
  
  <p>I think it's something with the compatibility of spring 2.5 and quartz. Any ideas?</p>