摘要:说到@Value注解,用过的应该都知道,这是Spring3的一个注解,通过@value注解的方式获取properties文件中的配置值,大大简化了我们读取配置文件的代码。然而,最近在使用中发现在controller使用出现了获取不到值的问题 经过排查发现父子容器的说法, 父子容器: Spring容器
阅读全文
posted @ 2018-10-11 14:21
posted @ 2018-10-11 14:21
posted @ 2018-09-19 16:55