Spring @Autowired 自动注入时,如果该对象为静态对象注入的bean就为null,解决办法如下 来源:oschina链接:https://my.oschina.net/u/3087202/blog/1921068 标签 Spring