解决Field xxService in x.controller.x required a bean of type ‘x.service.x‘ that could no be found的方法

Posted 栗栗本栗

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决Field xxService in x.controller.x required a bean of type ‘x.service.x‘ that could no be found的方法相关的知识,希望对你有一定的参考价值。

Field xxxService in xxx.controller.xxx required a bean of type ‘xxx.service.xxx’ 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 ‘cn.smxy.mybatisboot1.service.StudentService’ in your configuration.

可能是忘记在Service实现类上加@Service

以上是关于解决Field xxService in x.controller.x required a bean of type ‘x.service.x‘ that could no be found的方法的主要内容,如果未能解决你的问题,请参考以下文章

解决Field xxService in x.controller.x required a bean of type ‘x.service.x‘ that could no be found的方法

解决Field xxService in x.controller.x required a bean of type ‘x.service.x‘ that could no be found的方法

Unknown column '' in 'field list'解决方案

NodeJs报SequelizeDatabaseError Unknown column ‘created_at‘ in ‘field list‘解决方法

NodeJs报SequelizeDatabaseError Unknown column ‘created_at‘ in ‘field list‘解决方法

NodeJs报SequelizeDatabaseError Unknown column ‘created_at‘ in ‘field list‘解决方法