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

Multi tool use
Multi tool use


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. When I upgraded to 2.0.1, I had to add starter web to POM to make it work. Without starter web, 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?





can u post the exception which u were getting without the dependency?
– Indraneel Bende
10 hours ago





Hi @IndraneelBende , I did not get any error in logs. I'm updating the question.
– Anand Varkey Philips
9 hours ago






Can u post the complete log without starter web.
– Indraneel Bende
5 hours ago





which log level? there was no error.. I guess starter web is a dependancy.
– Anand Varkey Philips
43 mins ago




1 Answer
1



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


spring-boot-starter-web






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

eeQmR y7ay,1wlr8WdxdJYaEjx,RW Ail,IrPJ,dYwUYW,Q 0s8
QQns2M tIJxAJ7gY HoZiOcb,XCfpUW1wvKzoLa,ebAs86x4Vqralb yN3

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications