Springboot启动报错问题


Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2018-09-27 17:45:07.350 |-ERROR [restartedMain] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter [42] -| 

***************************
APPLICATION FAILED TO START
***************************

Description:

Field weiXinRootService in com.bicycle.weixin.controller.HomePageController required a bean of type 'com.bicycle.mapper.SubscribeMapper' that could not be found.


Action:

Consider defining a bean of type 'com.bicycle.mapper.SubscribeMapper' in your configuration.

这个是因为在Mapper文件没有加上@Mapper,导致项目启动不起来。

猜你喜欢

转载自blog.csdn.net/ma919755374/article/details/82874151