main方法:
ProtectionDomain pd = ProjectConfig.class.getProtectionDomain();
CodeSource csc = pd.getCodeSource();
System.err.println(csc.getLocation());
main方法:
ProtectionDomain pd = ProjectConfig.class.getProtectionDomain();
CodeSource csc = pd.getCodeSource();
System.err.println(csc.getLocation());