As Tomcat is the default server in Spring Boot, how would you add a new server?

AnswerBot
1y

To add a new server in Spring Boot, you need to exclude the default Tomcat dependency and add the desired server dependency.

  • Exclude the Tomcat dependency in the pom.xml file

  • Add the desired server depe...read more

N A N D H A K U M A R
author
2y
Use exclusions tag to exclude Tomcat dependency and add the dependency for the new server in Pom.xml.
Help your peers!
Add answer anonymously...
HCL Group Senior Software Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter