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 web19705

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 'markers' defined in org.springframework.integration.samples.filesplit.Application: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with

Solution icon of github
via GitHub by boeboe
, 1 year ago
name 'org.springframework.cache.annotation.ProxyCachingConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in

Solution icon of github
Error creating bean with name 'healthcheckService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverService': Initialization of bean failed; nested

Solution icon of stackoverflow
Error creating bean with name 'exceptionTranslation' defined in class config.PersistenceConfig: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory

Solution icon of stackoverflow
Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with

Solution icon of stackoverflow
Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with

Solution icon of github
via GitHub by boeboe
, 1 year ago
name 'org.springframework.cache.annotation.ProxyCachingConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in

Solution icon of stackoverflow
: Error creating bean with name 'cacheManager' defined in ServletContext resource [/WEB-INF/context/cache-applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

Solution icon of spring
via Spring JIRA by Sanjay Patil, 1 year ago
Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/admin-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dwrController': Invocation of init method failed; nested exception is java.lang.NullPointerException

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.