I have declared these two dependencies
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
and :
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
spring-boot-starter-web already has spring-boot-starter-tomcat with embedded tomcat-core. As shown here https://stackoverflow.com/a/33419889/1171533
My question is when my project is build and run which of the implementations of spring-boot-starter-tomcat is chosen to run? And how can I find which one is being used?