spring @Autowired注解注入为空指针的原因及解决方法

初始化顺序:成员变量初始化 -> Constructor -> @Autowired

https://blog.csdn.net/luohefu1/article/details/122535100

posted @ 2023-06-08 15:18  northli  阅读(143)  评论(0编辑  收藏  举报