The springboot project does not start and has no error messages

Project scenario: the project cannot be started after merging code branches

project scenario: after the code branches are merged, the project cannot be started and no error message is reported

try {
            ConfigurableApplicationContext context = SpringApplication.run(TestApplication.class, args);
            SpringContextUtils.setContext(context);
        }catch (Exception e){
            e.printStackTrace();
        }

Solution:

add try catch to the startup class to catch the exception information, and modify it according to the prompt to save the exception information

Read More: