创建一个Spring Boot 1.5.8 Quartz调度程序应用程序

时间:2017-10-23 11:04:42

标签: spring spring-mvc spring-boot quartz-scheduler

我想创建一个Spring Boot Quartz调度程序应用程序。将Spring Boot 1.5.8与Spring Tool Suite一起使用版本:3.9.0.RELEASE使用Spring Starter Project选项,但Quartz调度程序选项被禁用:

enter image description here

我还试图手动添加到pom.xml

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

然后我收到了错误:

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

1 个答案:

答案 0 :(得分:3)

您必须使用版本&gt; = openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert myapnsappcert.pem -key myapnsappprivatekey.pem创建spring-boot入门应用。在start.spring.io,您可以看到某些依赖项可用的版本。

enter image description here

使用正确的版本后,一切都应该有效。