database.properties文件要放在src 路径下
InputStream infile = this.getClass().getResourceAsStream("/database.properties");
props.load(infile);
database.properties文件要放在src 路径下
InputStream infile = this.getClass().getResourceAsStream("/database.properties");
props.load(infile);