<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
可以看下是否有这个包
在配置文件中加上
management:
endpoints:
web:
discovery:
enabled: false
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
可以看下是否有这个包
在配置文件中加上
management:
endpoints:
web:
discovery:
enabled: false