用了spring-boot-starter-actuator,在监控页面对应服务中显示空值,下面是正常情况下有的值
pom配置了
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <finalName>${project.name}</finalName> </configuration> </plugin> </plugins> </build>