[异常笔记] spring cloud 服务消费者启动-2018040501

一、异常信息:

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-04-05 01:15:11.264 ERROR 8144 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 

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

Description:

A component required a bean of type 'java.util.List' that could not be found.


Action:

Consider defining a bean of type 'java.util.List' in your configuration.

二、原因及解决方法

在控制层那里有的注入没有使用,删掉即可。

 

posted @ 2018-04-05 01:50  萧哥  阅读(412)  评论(0编辑  收藏  举报