java如何尋找main函數對應的類

參考springboot  Class<?> deduceMainApplicationClass() { try { StackTraceElement[] stackTrace = new RuntimeException().getStackTrace(); for (StackTraceElement stackTraceElement : stac
相關文章
相關標籤/搜索