8080 port already taken issue when trying to redeploy project from Spring Tool Suite IDE

前端 未结 22 2577
梦毁少年i
梦毁少年i 2020-12-07 10:49

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

22条回答
  •  攒了一身酷
    2020-12-07 11:20

    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 enter image description here

    or try

    RightClick on console>click terminate/Disconnect All

提交回复
热议问题