Solution:
Add the SpringBootServletInitializer startup class (ps: To solve the problem, you still need to see the error message reported in the log log)
package com.syfri.digitalplan; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.support.SpringBootServletInitializer; /** * Digitalplan program startup class * * @author lixiaoyang * @date September 29, 2017 09:00:42 */ public class DigitalplanServletInitializer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { return builder.sources(DigitalplanApplication.class); } }