Why does Spring Boot web app close immediately after starting?

后端 未结 10 2355
南笙
南笙 2021-02-18 15:57

Using STS, if I import the \"Rest Service\" Getting Started project using the latest Spring Boot and choose \"Run As Spring Boot App\", it starts up, t

10条回答
  •  再見小時候
    2021-02-18 16:47

    In my case, I had a syntax error in application.properties:

    application.password.numberOfLoginAttempts=5;

    The semicolon at the end caused Spring to shutdown silently with error code 0

提交回复
热议问题