Error starting ApplicationContext. To display the conditions report re-run your application with 'de

聚集的异常信息如下:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-10-17 13:00:43.658 ERROR 912 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 

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

Description:

Field jedisCluster in com.jt.service.DubboUserServiceImpl required a bean of type 'redis.clients.jedis.JedisCluster' 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 'redis.clients.jedis.JedisCluster' in your configuration.
此类问题异常中有清楚的描述:
Action(活动、情节):Consider defining a bean of type 'redis.clients.jedis.JedisCluster' in your configuration.

**

译文:考虑定义一个redis.clients.jedis类型的bean。在你的配置中。

**
很显然为配置文件有错误导致

<1>检查配置文件(本文为配置文件缺少@Bean注解)

Error starting ApplicationContext. To display the conditions report re-run your application with 'de_第1张图片
修正:
Error starting ApplicationContext. To display the conditions report re-run your application with 'de_第2张图片

<2> 检查实现类注入的注解是否正确:

Error starting ApplicationContext. To display the conditions report re-run your application with 'de_第3张图片

你可能感兴趣的:(Redis)