1.运行环境

开发工具:intellij idea

JDK版本:1.8

项目管理工具:Maven 4.0.0

2.Maven Plugin管理

pom.xml配置代码:

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 <project xmlns="http://maven.apache.org/POM/4.0.0"
 3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 5     <modelVersion>4.0.0</modelVersion>
 6 
 7     <groupId>spring-boot-scheduler</groupId>
 8     <artifactId>spring-boot-scheduler</artifactId>
 9     <version>1.0-SNAPSHOT</version>
10 
11     <!-- Spring Boot 启动父依赖 -->
12     <parent>
13         <groupId>org.springframework.boot</groupId>
14         <artifactId>spring-boot-starter-parent</artifactId>
15         <version>1.5.6.RELEASE</version>
16     </parent>
17 
18     <dependencies>
19         <!-- Spring Boot web依赖 -->
20         <dependency>
21             <groupId>org.springframework.boot</groupId>
22             <artifactId>spring-boot-starter-web</artifactId>
23         </dependency>
24         <!-- Spring Boot test依赖 -->
25         <dependency>
26             <groupId>org.springframework.boot</groupId>
27             <artifactId>spring-boot-starter-test</artifactId>
28             <scope>test</scope>
29         </dependency>
30     </dependencies>
31 
32 
33 </project>
View Code

相关文章:

  • 2022-12-23
  • 2019-10-12
  • 2021-10-08
  • 2021-10-08
  • 2021-06-25
  • 2022-02-13
  • 2021-09-29
猜你喜欢
  • 2022-12-23
  • 2021-06-16
  • 2021-08-07
  • 2021-12-11
相关资源
相似解决方案