@SpringBootApplication
public class Application {
public static void main(String[] args) {
try {
SpringApplication.run(Application.class, args);
} catch (Exception e) {
e.printStackTrace();
}
System.out.println(Thread.currentThread().getStackTrace()[1].getClassName()
+"启动成功!");
}
}
记一次经验教训(20210820)【springboot项目启动报错,错误日志很少,去try-catch启动类】
最新推荐文章于 2023-03-13 10:01:09 发布