Search code examples
spring-bootspring-boot-admin

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


Version 1.5.4 was working fine without extra declaration of starter web in POM of Spring Boot Admin Clients. When I upgraded to 2.0.1, I had to add starter web to POM to make it work. Without starter web in client apps, there is no error or no log related to registering the application.

It's not documented anywhere as far as I know. Can anyone please confirm?


Solution

  • Spring Boot Admin 2.x can run on netty and on tomcat. So if you want to run on tomcat you have to explicitly import the spring-boot-starter-web. The getting started guide contains this dependency http://codecentric.github.io/spring-boot-admin/current/#set-up-admin-server