While I want to run this command spring-boot:run i get that error
Failed to execute goal org .springframework.boot:spring-boot-maven plugin:1.2.3.RELEASE:run (default-cli) on project cepheus-cep: Anexception occured while running. null: InvocationTargetException: Tomcat connector in failed state -
I change the Tomcat port and restart it and i still have the same problem what should i do ?
It seems Tomcat cannot use the default port, it must be already used by another application.
You can start a Spring Boot application with a custom port from command line with the --server.port
option.
java -jar myapp.jar --server.port=8181
or from source directly with:
mvn spring-boot:run -Drun.arguments="--server.port=8181"