查看class真实归属的jar包位置
getClass().getClassLoader().getResource(getClass().getName().replace('.', '/') + ".class")
转载于:https://www.cnblogs.com/tangou/p/6922810.html
查看class真实归属的jar包位置
getClass().getClassLoader().getResource(getClass().getName().replace('.', '/') + ".class")
转载于:https://www.cnblogs.com/tangou/p/6922810.html