簡體   English   中英

創建一個 Spring Boot 1.5.8 Quartz 調度程序應用程序

[英]Create a Spring Boot 1.5.8 Quartz scheduler app

我想創建一個 Spring Boot Quartz 調度程序應用程序。 使用 Spring Boot 1.5.8 和 Spring Tool Suite 版本:3.9.0.RELEASE 使用選項 Spring Starter Project,但禁用了 Quartz 調度程序選項:

在此處輸入圖片說明

我也嘗試添加手動添加到 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.

您必須創建版本 >= 2.0.0.M2 spring-boot starter 應用程序。 start.spring.io 中,您可以看到某些依賴項可用的版本。

在此處輸入圖片說明

使用正確的版本后,一切正常。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM