0% found this document useful (0 votes)
13 views

cms-web

The application failed to start due to unsatisfied dependencies related to the 'catalogController' and 'redisTemplate' beans, specifically lacking a bean of type 'io.lettuce.core.resource.ClientResources'. Multiple nested exceptions indicate that the required beans could not be found in the configuration. The log also includes various informational messages about the environment and initializations prior to the failure.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

cms-web

The application failed to start due to unsatisfied dependencies related to the 'catalogController' and 'redisTemplate' beans, specifically lacking a bean of type 'io.lettuce.core.resource.ClientResources'. Multiple nested exceptions indicate that the required beans could not be found in the configuration. The log also includes various informational messages about the environment and initializations prior to the failure.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 11

cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.

009 [background-preinit]
WARN o.s.h.c.j.Jackson2ObjectMapperBuilder: - tx.id= [] - For Jackson Kotlin
classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to
the classpath
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.307 [main] INFO
o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker: - tx.id= [] -
Bean
'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfigu
ration' of type
[org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfigu
ration$$EnhancerBySpringCGLIB$$ea9cbd39] is not eligible for getting processed by
all BeanPostProcessors (for example: not eligible for auto-proxying)
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.585 [main] INFO
o.a.c.u.Compatibility: - tx.id= [] - Running in ZooKeeper 3.4.x compatibility mode
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.624 [main] INFO
o.a.c.f.i.CuratorFrameworkImpl: - tx.id= [] - Starting
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:zookeeper.version=3.4.6-1569965,
built on 02/20/2014 09:09 GMT
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:host.name=prd-cms-web-76c85669dd-
czvqq
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:java.version=1.8.0_332
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:java.vendor=Oracle Corporation
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client
environment:java.home=/usr/local/openjdk-8/jre
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client
environment:java.class.path=web.jar:/opt/jmx_exporter.jar
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client
environment:java.library.path=/usr/java/packages/lib/aarch64:/lib:/usr/lib
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:java.io.tmpdir=/tmp
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:java.compiler=<NA>
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:os.name=Linux
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:os.arch=aarch64
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:os.version=5.15.0-1023-aws
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:user.name=root
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:user.home=/root
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.644 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Client environment:user.dir=/opt/target
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.645 [main] INFO
o.a.z.ZooKeeper: - tx.id= [] - Initiating client connection, connectString=zk1-
config.meeshoint.in:2181,zk2-config.meeshoint.in:2181,zk3-
config.meeshoint.in:2181,zk4-config.meeshoint.in:2181,zk5-config.meeshoint.in:2181
sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@5ae50ce6
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.672 [main] INFO
o.a.c.f.i.CuratorFrameworkImpl: - tx.id= [] - Default schema
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.679 [main-SendThread(ip-
172-31-17-235.ap-southeast-1.compute.internal:2181)] INFO o.a.z.ClientCnxn: -
tx.id= [] - Opening socket connection to server ip-172-31-17-235.ap-southeast-
1.compute.internal/172.31.17.235:2181. Will not attempt to authenticate using SASL
(unknown error)
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.683 [main-SendThread(ip-
172-31-17-235.ap-southeast-1.compute.internal:2181)] INFO o.a.z.ClientCnxn: -
tx.id= [] - Socket connection established to ip-172-31-17-235.ap-southeast-
1.compute.internal/172.31.17.235:2181, initiating session
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.690 [main-SendThread(ip-
172-31-17-235.ap-southeast-1.compute.internal:2181)] INFO o.a.z.ClientCnxn: -
tx.id= [] - Session establishment complete on server ip-172-31-17-235.ap-southeast-
1.compute.internal/172.31.17.235:2181, sessionid = 0x10e8b7d87d59c71, negotiated
timeout = 40000
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:18.698 [main-EventThread]
INFO o.a.c.f.s.ConnectionStateManager: - tx.id= [] - State change: CONNECTED

. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.1.4.RELEASE)

cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:27.339 [main] WARN


o.a.h.u.NativeCodeLoader: - tx.id= [] - Unable to load native-hadoop library for
your platform... using builtin-java classes where applicable
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:29.123 [main] WARN
o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext: - tx.id= [] -
Exception encountered during context initialization - cancelling refresh attempt:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogController' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/controller/
CatalogController.class]: Unsatisfied dependency expressed through constructor
parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogContentService' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/serviceImpl/
CatalogContentService.class]: Unsatisfied dependency expressed through constructor
parameter 2; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogContentCachingRepository' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/dao/supply/
caching/impl/CatalogContentCachingRepository.class]: Unsatisfied dependency
expressed through constructor parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'redisTemplate' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'redisTemplate' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'connectionFactory' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'connectionFactory' parameter 1; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}
cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:29.564 [main] ERROR
o.s.b.d.LoggingFailureAnalysisReporter: - tx.id= [] -

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

Description:

Parameter 1 of method lettucePoolConfig in com.meesho.cms.web.config.RedisConfig


required a bean of type 'io.lettuce.core.resource.ClientResources' that could not
be found.

Action:

Consider defining a bean of type 'io.lettuce.core.resource.ClientResources' in your


configuration.

cms-web prd-cms-web-76c85669dd-czvqq 22-06-2023 01:35:29.571 [main] ERROR


c.m.c.w.CMSWebApplication:45 - tx.id= [] - Some Error while starting cms-web :
error : Error creating bean with name 'catalogController' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/controller/
CatalogController.class]: Unsatisfied dependency expressed through constructor
parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogContentService' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/serviceImpl/
CatalogContentService.class]: Unsatisfied dependency expressed through constructor
parameter 2; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogContentCachingRepository' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/dao/supply/
caching/impl/CatalogContentCachingRepository.class]: Unsatisfied dependency
expressed through constructor parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'redisTemplate' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'redisTemplate' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'connectionFactory' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'connectionFactory' parameter 1; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}, trace :
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogController' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/controller/
CatalogController.class]: Unsatisfied dependency expressed through constructor
parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogContentService' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/serviceImpl/
CatalogContentService.class]: Unsatisfied dependency expressed through constructor
parameter 2; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogContentCachingRepository' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/dao/supply/
caching/impl/CatalogContentCachingRepository.class]: Unsatisfied dependency
expressed through constructor parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'redisTemplate' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'redisTemplate' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'connectionFactory' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'connectionFactory' parameter 1; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:769)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(C
onstructorResolver.java:218)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowi
reConstructor(AbstractAutowireCapableBeanFactory.java:1341)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
BeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCrea
teBean(AbstractAutowireCapableBeanFactory.java:555)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
Bean(AbstractAutowireCapableBeanFactory.java:515)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(Ab
stractBeanFactory.java:320)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBea
nFactory.java:318)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanF
actory.java:199)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiate
Singletons(DefaultListableBeanFactory.java:849)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryIni
tialization(AbstractApplicationContext.java:877)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAppl
icationContext.java:549)
at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.ref
resh(ServletWebServerApplicationContext.java:142)
at
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
at
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:39
7)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
at
org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at com.meesho.cms.web.CMSWebApplication.main(CMSWebApplication.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4
3)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'catalogContentService' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/serviceImpl/
CatalogContentService.class]: Unsatisfied dependency expressed through constructor
parameter 2; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'catalogContentCachingRepository' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/dao/supply/
caching/impl/CatalogContentCachingRepository.class]: Unsatisfied dependency
expressed through constructor parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'redisTemplate' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'redisTemplate' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'connectionFactory' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'connectionFactory' parameter 1; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:769)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(C
onstructorResolver.java:218)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowi
reConstructor(AbstractAutowireCapableBeanFactory.java:1341)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
BeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCrea
teBean(AbstractAutowireCapableBeanFactory.java:555)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
Bean(AbstractAutowireCapableBeanFactory.java:515)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(Ab
stractBeanFactory.java:320)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBea
nFactory.java:318)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanF
actory.java:199)
at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(Depe
ndencyDescriptor.java:277)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDepen
dency(DefaultListableBeanFactory.java:1247)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDepende
ncy(DefaultListableBeanFactory.java:1167)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgum
ent(ConstructorResolver.java:857)
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:760)
... 27 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'catalogContentCachingRepository' defined in URL
[jar:file:/opt/target/web.jar!/BOOT-INF/classes!/com/meesho/cms/web/dao/supply/
caching/impl/CatalogContentCachingRepository.class]: Unsatisfied dependency
expressed through constructor parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'redisTemplate' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'redisTemplate' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'connectionFactory' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'connectionFactory' parameter 1; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:769)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(C
onstructorResolver.java:218)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowi
reConstructor(AbstractAutowireCapableBeanFactory.java:1341)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
BeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCrea
teBean(AbstractAutowireCapableBeanFactory.java:555)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
Bean(AbstractAutowireCapableBeanFactory.java:515)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(Ab
stractBeanFactory.java:320)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBea
nFactory.java:318)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanF
actory.java:199)
at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(Depe
ndencyDescriptor.java:277)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDepen
dency(DefaultListableBeanFactory.java:1247)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDepende
ncy(DefaultListableBeanFactory.java:1167)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgum
ent(ConstructorResolver.java:857)
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:760)
... 41 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'redisTemplate' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'redisTemplate' parameter 0; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'connectionFactory' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'connectionFactory' parameter 1; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:769)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFacto
ryMethod(ConstructorResolver.java:509)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instan
tiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
BeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCrea
teBean(AbstractAutowireCapableBeanFactory.java:555)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
Bean(AbstractAutowireCapableBeanFactory.java:515)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(Ab
stractBeanFactory.java:320)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBea
nFactory.java:318)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanF
actory.java:199)
at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(Depe
ndencyDescriptor.java:277)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDepen
dency(DefaultListableBeanFactory.java:1247)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDepende
ncy(DefaultListableBeanFactory.java:1167)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgum
ent(ConstructorResolver.java:857)
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:760)
... 55 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'connectionFactory' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'connectionFactory' parameter 1; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating
bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:769)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFacto
ryMethod(ConstructorResolver.java:509)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instan
tiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
BeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCrea
teBean(AbstractAutowireCapableBeanFactory.java:555)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
Bean(AbstractAutowireCapableBeanFactory.java:515)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(Ab
stractBeanFactory.java:320)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBea
nFactory.java:318)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanF
actory.java:199)
at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(Depe
ndencyDescriptor.java:277)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDepen
dency(DefaultListableBeanFactory.java:1247)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDepende
ncy(DefaultListableBeanFactory.java:1167)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgum
ent(ConstructorResolver.java:857)
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:760)
... 69 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'lettucePoolConfig' defined in class path resource
[com/meesho/cms/web/config/RedisConfig.class]: Unsatisfied dependency expressed
through method 'lettucePoolConfig' parameter 1; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean
of type 'io.lettuce.core.resource.ClientResources' available: expected at least 1
bean which qualifies as autowire candidate. Dependency annotations: {}
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:769)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFacto
ryMethod(ConstructorResolver.java:509)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instan
tiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1321)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
BeanInstance(AbstractAutowireCapableBeanFactory.java:1160)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCrea
teBean(AbstractAutowireCapableBeanFactory.java:555)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.create
Bean(AbstractAutowireCapableBeanFactory.java:515)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(Ab
stractBeanFactory.java:320)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton
(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBea
nFactory.java:318)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanF
actory.java:199)
at
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(Depe
ndencyDescriptor.java:277)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDepen
dency(DefaultListableBeanFactory.java:1247)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDepende
ncy(DefaultListableBeanFactory.java:1167)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgum
ent(ConstructorResolver.java:857)
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:760)
... 83 more
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No
qualifying bean of type 'io.lettuce.core.resource.ClientResources' available:
expected at least 1 bean which qualifies as autowire candidate. Dependency
annotations: {}
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchin
gBeanFound(DefaultListableBeanFactory.java:1654)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDepen
dency(DefaultListableBeanFactory.java:1213)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDepende
ncy(DefaultListableBeanFactory.java:1167)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgum
ent(ConstructorResolver.java:857)
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(C
onstructorResolver.java:760)
... 97 more

You might also like