简体   繁体   中英

Create a Spring Boot 1.5.8 Quartz scheduler app

I want to create a Spring Boot Quartz scheduler app. using Spring Boot 1.5.8 with Spring Tool Suite Version: 3.9.0.RELEASE using the option Spring Starter Project, but the Quartz scheduler option is disabled:

在此处输入图片说明

I also tried to added manually adding to the pom.xml

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-quartz</artifactId>
 </dependency>

and then I got the error:

Project build error: 'dependencies.dependency.version' for org.springframework.boot:spring-boot-starter-quartz:jar is 
 missing.

You have to create your spring-boot starter app with version >= 2.0.0.M2 . At start.spring.io you can see for which version some dependencies are available.

在此处输入图片说明

After using the correct version, everything should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM