错误@org.springframework.beans.factory.annotation.Autowired(required=true)
在实体类User上添加@Component注解
Description:
Field user in com.crab.bookol.controller.UserController required a bean of type 'com.crab.bookol.entity.User' that could not be found.
The injection point has the following annotations:
- @org.springfra...
原创
2021-01-26 16:42:11 ·
200 阅读 ·
0 评论