My spring bean is not injected or created when I use the autowire and component annotations

前端 未结 2 1049
醉话见心
醉话见心 2021-01-24 13:36

I\'m trying to understand DI, but my spring bean is not injected or created when I use the autowire and component annotations. Instead I get a nullpointer exception because my b

2条回答
提交回复
热议问题