when i change my code in pom.xml
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.7.18
com
SistemaLibreriaSpring2
0.0.1-SNAPSHOT
war
SistemaLibreriaSpring2
Demo project for Spring Boot
<java.version>1.8</java.version>
org.springframework.boot
spring-boot-starter-data-jpa
org.springframework.boot
spring-boot-starter-thymeleaf
org.springframework.boot
spring-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 is
when 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 nothing
It all started when I changed the pom.xml code
Frank Ramos palomino is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.