public static Properties loadProperties(String... resourcesPaths) throws IOException {
		Properties props = new Properties();
		for (String location : resourcesPaths) {
			logger.debug("Loading properties file from:" + location);
			InputStream is = null;
			try {
				is = PropertiesUtils.class.getClassLoader().getResourceAsStream(location);//new FileInputStream(location);
				if(is !=null){
					props.load(is);
				}else{
					logger.error("Could not load properties from classpath:" + location);
				}
				
			} catch (IOException e) {
				logger.error("Could not load properties from classpath:" + location + ": " + e.getMessage());
				e.printStackTrace();
			} catch (Exception e) {
				logger.error("Could not load properties from classpath:" + location + ": " + e.getMessage());
				e.printStackTrace();
			} finally {
				if (is != null) {
					is.close();
				}
			}
		}
		return props;
	}