Field ** in ** required a bean of type **

問題:

Field adminUserDao in com.xjj.service.impl.AdminUserServiceImpl required a bean of type 'com.xjj.dao.AdminUserDao' that could not be found.

The injection point has the following annotations:
    - @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:

Consider defining a bean of type 'com.xjj.dao.AdminUserDao' in your configuration.

 

解決:

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章