java spring注解 获取properties属性值

@Value("${jdbc.url}")
private String url;

原文地址:https://www.cnblogs.com/adolfmc/p/2796091.html