title: Error creating bean Autowiring of fields failed; spring
body: <p>I try to user Spring 4 and quartz 2 and java 1.6 in web application deployed in weblogic 10.3.6</p>
  
  <p>I faces the below exception when try to deploy:</p>
  
  <pre><code>&gt;     &lt;ContextLoader&gt; &lt;initWebApplicationContext&gt; Context initialization failed
  &gt;     org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'startup': Autowiring of fields failed; nested
  &gt; exception is org.springframework.beans.factory.BeanCreationException:
  &gt; Could not autowire field: private
  &gt; com.xxx.payment.scheduler.manager.SchedulerManager
  &gt; com.xxx.payment.scheduler.Startup.schedulerManager; nested exception
  &gt; is org.springframework.beans.factory.BeanCreationException: Error
  &gt; creating bean with name 'schedulerBean' defined in class path resource
  &gt; [META-INF/spring/applicationContext-scheduler.xml]: Instantiation of
  &gt; bean failed; nested exception is
  &gt; org.springframework.beans.BeanInstantiationException: Could not
  &gt; instantiate bean class
  &gt; [org.springframework.scheduling.quartz.SchedulerFactoryBean]:
  &gt; Constructor threw exception; nested exception is
  &gt; java.lang.NoClassDefFoundError
  &gt;       at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessAfterInstantiation(AutowiredAnnotationBeanPostProcessor.java:243)
  </code></pre>
  
  <p>the application context:</p>
  
  <pre><code>&lt;context:annotation-config /&gt;
      &lt;context:component-scan base-package="com.xxx.payment" /&gt;
      &lt;jee:jndi-lookup id="dataSource" jndi-name="jdbc/WCMAppsDS" /&gt;
  
      &lt;bean id="schedulerBean"
          class="org.springframework.scheduling.quartz.SchedulerFactoryBean"&gt;
  
          &lt;property name="configLocation" value="classpath:/META-INF/quartz.properties" /&gt;
          &lt;property name="dataSource" ref="dataSource" /&gt;
          &lt;property name="schedulerName" value="quartzScheduler" /&gt;
          &lt;property name="overwriteExistingJobs" value="false" /&gt;
          &lt;property name="autoStartup" value="true" /&gt;
          &lt;property name="applicationContextSchedulerContextKey" value="applicationContext" /&gt;
      &lt;/bean&gt; 
  </code></pre>
  
  <p>I need help for solve this problem</p>