@Repository class not getting Autowired in my test class

前端 未结 0 897
没有蜡笔的小新
没有蜡笔的小新 2021-02-11 21:13

I have DAO marked with @Repository annotation in the main folder. I need to access this DAO in my test class. I\'m using @Autowire for this but the DAO object is throwing a null

相关标签:
回答
  • 消灭零回复
提交回复
热议问题