when i change my code in pom.xml
4.0.0org.springframework.bootspring-boot-starter-parent2.7.18comSistemaLibreriaSpring20.0.1-SNAPSHOTwarSistemaLibreriaSpring2Demo project for Spring Boot<java.version>1.8</java.version>org.springframework.bootspring-boot-starter-data-jpaorg.springframework.bootspring-boot-starter-thymeleaforg.springframework.bootspring-boot-starter-web
<dependency><groupId>com.microsoft.sqlserver</groupId><artifactId>mssql-jdbc</artifactId><scope>runtime</scope><version>9.2.1.jre8</version></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-tomcat</artifactId><scope>provided</scope></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope></dependency></dependencies><build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId></plugin></plugins></build>
there iswhen i try to run the proyect, i get this error:Server Tomcat v9.0 Server at localhost failed to start.I tried to change ports, delete the server and add another one again and nothingIt all started when I changed the pom.xml code