Spring Boot Application immediately shuts down after starting

后端 未结 4 1462

I am working currently on a project which includes the Spring Framework. Everything is working as aspect but there is one problem. When I try to start my application onto my lap

4条回答
  •  鱼传尺愫
    2021-02-08 19:18

    I met the same problem, I fix by these steps as below:
    update file application.yml

    1- remove:

    main:
        web-application-type: none
    

    2- if your change server port already, it's still error:

    Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.

    solution: move server port config on the top of yml file

    Done! it's for my case.

提交回复
热议问题