查看yml中配置,points有没有加s
确保你的 pom.xml 中有以下依赖项:我就是少了web访问不了actuator的
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>