1.server.pom引入springboot相关依赖
(1) spring-boot-starter-web:springboot web开发核心包.
(2) spring-boot-starter-actuator:健康检查,很多性能监控的组件都是依赖此包开发.
(3) spring-boot-configuration-processor:配置文件依赖,方便我们做实体类和配置文件的映射.
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>