I am new to Spring boot, I am trying to build a simple CRUD application, but I get this error when I run my app and I dont know how to solve it.
here is my application.properties file :
server.port = 8079
spring.datasource.url=jdbc:mysql://localhost:8889/employee?useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username = root
spring.datasource.password = root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.jpa.database-platform = org.hibernate.dialect.MySQL5Dialect
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto = update
But I get the error :
The Tomcat connector configured to listen on port 8079 failed to start. The port may already be in use or the connector may be misconfigured.
I changed the port many times but I still get the error so my connector must be misconfigured.
Any help would be much much appreciated.