springboot项目定位问题小技巧

public class AssetPlatformApplication {
public static void main(String[] args) {

try {
SpringApplication.run(AssetPlatformApplication.class, args);
}catch (Exception e) {
System.out.println(e);
}
}
}

在启动类里加try catch 能应对无法看到报错的情况

posted on 2025-03-06 16:50  MaXianZhe  阅读(70)  评论(0)    收藏  举报

导航