a bean of type '*.dao.UserDao' in your configuration.
[2021/09/05-16:22:19] [main] [ERROR] [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter] :
Field userDao in net.sunofbeach.blog.services.impl.UserServiceImpl required a bean of type 'net.sunofbeach.blog.dao.UserDao' 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 'net.sunofbeach.blog.dao.UserDao' in your configuration.
你的UserDao没有注入。提示都已经告诉你怎么做了。