Description:
Parameter 0 of method redisCache in com.ai.paas.cache.autoconfigure.CacheSvAutoConfiguration required a bean of type 'com.ai.paas.config.ConfigurationCenter' that could not be found.
Action:
Consider defining a bean of type 'com.ai.paas.config.ConfigurationCenter' in your configuration.
请问啊,整合了一整天都是报这个错
没有引入redis配置文件
添加pom.xml如下的依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
如果不可以,'com.ai.paas.config.ConfigurationCenter' 这个配置类上面有没有@Configuration注解,类里的方法上面有没有使用@Bean注解
DI缺少bean,'com.ai.paas.config.ConfigurationCenter' 这个配置没有注册到spring