Hi You also need quartz.jar itself. If you are using Maven all that is taken care of.
Basically you need whats listed as compile here [INFO] The following files have been resolved: [INFO] aopalliance:aopalliance:jar:1.0:test [INFO] com.sun.xml.bind:jaxb-impl:jar:2.1.12:compile [INFO] commons-collections:commons-collections:jar:3.2.1:compile [INFO] commons-logging:commons-logging:jar:1.1.1:test [INFO] commons-logging:commons-logging-api:jar:1.1:compile [INFO] javax.activation:activation:jar:1.1:compile [INFO] javax.xml.bind:jaxb-api:jar:2.1:compile [INFO] javax.xml.stream:stax-api:jar:1.0-2:compile [INFO] junit:junit:jar:4.4:test [INFO] log4j:log4j:jar:1.2.14:test [INFO] opensymphony:quartz:jar:1.6.6:compile [INFO] org.apache.camel:camel-core:jar:2.3-SNAPSHOT:compile [INFO] org.apache.camel:camel-spring:jar:2.3-SNAPSHOT:test [INFO] org.apache.camel:camel-test:jar:2.3-SNAPSHOT:test [INFO] org.fusesource.commonman:commons-management:jar:1.0:compile [INFO] org.springframework:spring-aop:jar:2.5.6:test [INFO] org.springframework:spring-beans:jar:2.5.6:test [INFO] org.springframework:spring-context:jar:2.5.6:test [INFO] org.springframework:spring-core:jar:2.5.6:test [INFO] org.springframework:spring-tx:jar:2.5.6:test [INFO] On Mon, Mar 8, 2010 at 3:10 PM, ankelee <andreasasm...@gmail.com> wrote: > > I'm trying to get a Quartz timer up and running. I included > camel-quartz-2-2-0.jar and the two .jars > camel-core.jar and the commons-collections.jar as stated on this page: > > http://camel.apache.org/maven/camel-quartz/dependencies.html > > from("quartz://report?cron=0+0+6+*+*+?") > .to("file://data"); > > and I get: > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/quartz/SchedulerFactory > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) > at java.lang.Class.getConstructor0(Unknown Source) > at java.lang.Class.newInstance0(Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > > What am I doing wrong? > -- > View this message in context: > http://old.nabble.com/Quartz-confusion-tp27819970p27819970.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus