1)将启动类添加try-catch捕获信息
在springboot的启动类中添加try-catch即可出现具体错误信息;
try {
SpringApplication.run(ConverterApplication.class, args);
} catch (Exception e) {
System.out.println("e.getMessage() = " + e.getMessage());
}