title: Exception in thread org.springframework.beans.factory.BeanCreationException: Error
body: <p>this is my applicationContext.xml </p>
  
  <pre><code>&lt;bean id="studentbean" class="com.Student"&gt;
      &lt;property name="name" value=" " /&gt;
  
  &lt;/bean&gt;
  &lt;bean id="JobA" class="org.springframework.scheduling.quartz.JobDetailBean"&gt;
      &lt;property name="jobClass" value="com.Student" /&gt;
      &lt;property name="jobDataAsMap"&gt;
          &lt;map&gt;
              &lt;entry key="timeout" value="5" /&gt;
          &lt;/map&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  &lt;bean id="cronTriggerJobA"   class="org.springframework.scheduling.quartz.CronTriggerBean"&gt;
      &lt;property name="jobDetail" ref="JobA" /&gt;
      &lt;property name="cronExpression" value="0/5 * * * * ?" /&gt;
  &lt;/bean&gt;
  
  &lt;bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"&gt;
      &lt;property name="jobDetails"&gt;
          &lt;list&gt;
              &lt;ref bean="JobA" /&gt;
          &lt;/list&gt;
      &lt;/property&gt;
      &lt;property name="triggers"&gt;
          &lt;list&gt;
              &lt;ref bean="cronTriggerJobA" /&gt;
  
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>i am using spring-2.5.6.jar and quartz-1.8.5.jar
  when executing i am getting the  error</p>
  
  <pre><code>     Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.quartz.impl.StdSchedulerFactory]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
  at java.security.AccessController.doPrivileged(Native Method)
  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
  </code></pre>
  
  <p>i was able to use Quartz scheduler without spring integration,but now i came across with this error anybody got a solution for this</p>