I am trying to learn about Quartz in Spring from this article : http://examples.javacodegeeks.com/enterprise-java/spring/beans-spring/spring-3-scheduler-example-jdk-timer-and-quartz-showcase/
when I imported this example in STS I got an error :
The import org.springframework.scheduling.quartz cannot be resolved
in this line :
import org.springframework.scheduling.quartz.QuartzJobBean;
Add this dependency in your pom.xml
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>3.1.2.RELEASE</version>
</dependency>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With