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 font> to save the exception information
Read More:
- Springboot project start swagger prompt error err_ CONNECTION_ Refused solution
- Springboot framework Maven build fastjson start error
- [Solved] Springboot Project Error: Mail server connection failed;
- Net start mongodb failed to start: system error 5 has occurred. Access is denied
- Springboot: start error reporting after introducing paging plug-in PageHelper
- Springboot project startup exception – required a single bean, but 2 were found
- [unable to read project file xxxxx, XXX failed to load project file, name cannot start with “<" character (hex value 0x3c)] exception handling method
- [Solved] ERROR Error: No module factory availabl at Object.PROJECT_CONFIG_JSON_NOT_VALID_OR_NOT_EXIST ‘Error
- Mac idea springboot project reported an error
- Tomcat startup project warning: org.apache.jasper.servlet.tldscanner.scanjars at least one jar has been scanned for TLD but does not contain TLD
- Qt Failed opening project “xxx“: No plugin can open project type “text/plain“
- Unknown error in POM file of springboot project
- Update project manually_ Solution of too large jar package in springboot
- The computer can’t turn on ERROR: NO BOOT DISK HAS BEEN DETECTED OR THE DISK HAS FAILED
- module ‘os’ has no attribute ‘mknod’
- RuntimeError:An attempt has been made to start a new process before the……
- Maven of springboot project pom.xml Unknown error in the first line of the file
- Upgrade to IntelliJ idea 2021.2 and start the project with an error
- How to solve the problem of artifact contains illegal characters when creating springboot project with idea
- This application has no explicit mapping for /error, so you are seeing this as a fallback (How to Fix)