Spring注入的bean 为什么为空

2025-05-07 21:57:40
推荐回答(1个)
回答1:

bean 的依赖bean 有没有;其次bean语法比如class的完整路径有没有;有没有来加载,而你在项目中没有用到此bean;