0
点赞
收藏
分享

微信扫一扫

Field xxService in com.xxx.server.controller.xxController required a bean of type

mafa1993 2022-02-26 阅读 97
***************************
APPLICATION FAILED TO START
***************************

Description:

Field xxxService in com.xxx.server.controller.xxxController required a bean of type 'com.xxx.server.service.xxxService' 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.xxx.server.service.xxxService' in your configuration.

在这里插入图片描述
上述报错是因为在 service.impl服务实现层中缺少了 @Service

在这里插入图片描述

举报

相关推荐

0 条评论