通过类跟径加载配置文件

InputStream is =  Env.class.getClassLoader().getResourceAsStream("./db.properties");