Spring-boot: load properties from file

@Autowired
private Environment env;
String var = env.getProperty("jdbc.url");