java如何寻找main函数对应的类

参考springboot  Class<?> deduceMainApplicationClass() { try { StackTraceElement[] stackTrace = new RuntimeException().getStackTrace(); for (StackTraceElement stackTraceElement : stac
相关文章
相关标签/搜索