I have strange thing when I try to modify Spring project inside my Spring Tool Suite. On the first load (deploy) everything is fine, application compiles and runs on localho
You have to stop the current process and run your new one. In Eclipse, you can press this button to ReLaunch your application:
Open "localhost:8080" on your browser and see what is running on this port.
I did it and I just found Oracle 10g XE running on background, so I went to start->Services and stopped all oracle services. Then I redo mvnw spring-boot:run
on IntelliJ and it runs like magic.
Create application.properties
file under src/main/resources
folder and write content as
server.port=8084
Its runs fine.
But every time before run need to stop application first by click on red button upper on the IDE
or try
RightClick on console>click terminate/Disconnect All
Just click red button to stop all services on eclipse than re- run application as Spring Boot Application - This worked for me.