Peter Theissen wrote:
Hi,

the quartz scheduler from Spring seemed to be a quite nice solution for
my DB clean up service. Thanks for that hint.
Now I have a quite curios problem. If I, e.g. create a bean in
applicationContext.xml as follows:
 >>>
<bean id="simpleTrigger" class="org.springframework.scheduling.quartz.SimpleTriggerBean">

<!-- props are first commented out, since they are not important for this issue
     <property name="jobDetail" ref="jobInvokation"/>
     <property name="repeatInterval" value="10000"/>
      -->

   </bean>
<<<
I get a org.springframework.beans.factory.BeanCreationException:
nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.scheduling.quartz.SimpleTriggerBean]

But anyhow, if I import the class using:
import org.springframework.scheduling.quartz.SimpleTriggerBean;
in some POJO in the project everything is fine.

What am I missing?

The 'root cause' section of the stack trace? That should tell you why Spring can't instantiate the bean.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to