web Resources.class.getClassLoader().getResource("").getPath() +"sys_variable.properties"; 转载于:https://www.cnblogs.com/aiwoqu/p/4180465.html