摘要: 使用@Value(): 1、该注解所在的类,必须要被扫描到: <context:component-scan base-package="com.laiw"/> 备注: 1、在静态类,该注解无效 2、无效,使用properties进行取值: 阅读全文
posted @ 2017-04-01 14:40 自朗活 阅读(2939) 评论(0) 推荐(0) 编辑