org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.aspectj.AspectJCachingConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in com.nuvizz.cache.config.CouchbaseCacheConfiguration: Invocation of init method failed; nested exception is com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight. 2016-12-19 12:41:00,875 [cb-io-1-1] WARN com.couchbase.client.core.endpoint.Endpoint - Error during reconnect: java.net.ConnectException: Connection refused: my_second_CB_node/XX.YYY.ZZ.105:8092


Solutions on the web2

Solution icon of web
' defined in com.nuvizz.cache.config.CouchbaseCacheConfiguration: Invocation of init method failed; nested exception is com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight. 2016-12-19 12:41:00,875 [cb-io-1-1] WARN com.couchbase.client.core.endpoint.Endpoint - Error during reconnect: java.net.ConnectException: Connection refused: my_second_CB_node/XX.YYY.ZZ.105:8092

Solution icon of github
Error creating bean with name 'spanChunkHandler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private

Stack trace

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.aspectj.AspectJCachingConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in com.nuvizz.cache.config.CouchbaseCacheConfiguration: Invocation of init method failed; nested exception is com.couchbase.client.core.RequestCancelledException: Request cancelled in-flight.
2016-12-19 12:41:00,875 [cb-io-1-1] WARN  com.couchbase.client.core.endpoint.Endpoint - Error during reconnect: 
java.net.ConnectException: Connection refused: my_second_CB_node/XX.YYY.ZZ.105:8092
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:712)
	at com.couchbase.client.deps.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:223)
	at com.couchbase.client.deps.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:285)
	at com.couchbase.client.deps.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:589)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.