2018年7月11日
摘要: @Autowired注解在非Controller中注入为null 1、配置文件(类文件所在的包) 2、类文件 关于@PostConstruct:被@PostConstruct修饰的方法会在服务器加载Servlet的时候运行,并且只会被服务器调用一次,类似于Serclet的inti()方法。被@Pos 阅读全文
posted @ 2018-07-11 20:26 LJD泊水 阅读(6104) 评论(0) 推荐(0) 编辑