启动项目异常Error starting ApplicationContext. To display the conditions report re-run your application wi

启动异常
Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
在这里插入图片描述
异常1、:

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.

异常:

Consider defining a bean of type ‘com.httl.operations.operations.mapper.PushesFailedDataMapper’ in your configuration.

解决办法:在serviceImpl服务层注入mapper时出现异常找不到,如下:
在这里插入图片描述
去掉注入注解 @Autowired,即可如下:
在这里插入图片描述
启动成功
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_47056195/article/details/112278302
今日推荐