转自:https://blog.csdn.net/awmw74520/article/details/82687288

APPLICATION FAILED TO START

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-09-01 19:16:54,375 [main] [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter.report(LoggingFailureAnalysisReporter.java:42)] - [ERROR] 

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

Description:

Field userService in com.sxsj.controller.RegistLoginController required a bean of type 'com.sxsj.service.UserService' that could not be found.


Action:

Consider defining a bean of type 'com.sxsj.service.UserService' in your configuration.

 

原因 配置错误

修改位置:

 

修改完成
---------------------
作者:傲宇苍穹
来源:CSDN
原文:https://blog.csdn.net/qq_41247433/article/details/82289924
版权声明:本文为博主原创文章,转载请附上博文链接!

posted on 2019-01-21 01:15  Sharpest  阅读(9682)  评论(0编辑  收藏  举报