java读取properties文件

        InputStream in1 = readproperties.class.getClassLoader().getResourceAsStream("config/properties/jdbc.properties");

原文地址:https://www.cnblogs.com/tsinghuaxiaobao/p/5729445.html