//加载配置文件
InputStream in = JedisUtils.class.getClassLoader().getResourceAsStream("redis.properties");
Properties properties =new Properties();
try {
properties.load(in);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}