我们真的需要为 spring 引导管理客户端添加 spring 引导启动程序 Web 吗?

Do we really need to add spring boot starter web for spring boot admin clients?

版本 1.5.4 工作正常,无需在 Spring 引导管理客户端的 POM 中额外声明 starter web。当我升级到 2.0.1 时,我必须将 starter web 添加到 POM 才能使其工作。客户端应用程序中没有 starter web,没有错误或没有与注册应用程序相关的日志。

据我所知,documented 不在任何地方。谁能确认一下?

Spring 引导管理 2.x 可以在 netty 和 tomcat 上 运行。因此,如果您想在 tomcat 上 运行,则必须显式导入 spring-boot-starter-web。 入门指南包含此依赖项 http://codecentric.github.io/spring-boot-admin/current/#set-up-admin-server