定制Endpoint监控页面信息 http://localhost:8001/actuator/info 无数据展示
【SpringBoot】Eureka监控页面 http://localhost:8001/actuator/info 有页面展示能成功访问但是无数据
我也配置了依赖在
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency>
也在配置了这个插件
<build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> </plugin> </plugins> </build>
最后在yml里面配置了数据
info: appName: boot-admin appVersion: 1.0.0
结果没有数据展示