【发布时间】:2019-03-15 22:33:09
【问题描述】:
在我的项目中,我不想使用@EnableAutoConfiguration。我的 Application.java 有 @ComponentScan、@Configuration 和 @Import 注释。
我在 pom.xml 中添加了 spring boot 执行器依赖项。但是,当我尝试访问 http://<>/acutuator/health 时,我得到 404。我相信我需要指定一些配置类作为导入注释的一部分。我需要帮助来弄清楚该配置是什么。
【问题讨论】:
标签: spring-boot spring-boot-actuator