org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MatchService': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.neo4j.driver.v1.Driver.session(Lorg/neo4j/driver/v1/AccessMode;)Lorg/neo4j/driver/v1/Session;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by geld0r
, 10 months ago
Error creating bean with name 'MatchService': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.neo4j.driver.v1.Driver.session(Lorg/neo4j/driver/v1/AccessMode;)Lorg/neo4j/driver/v1/Session;
via Tridion by Hirokazu Shikata
, 8 months ago
Error creating bean with name 'binaryStorageSelector': Invocation of init method failed; nested exception is com.sdl.delivery.configuration.ConfigurationException: Binary Storage directory does not exist and could not be created
via GitHub by philnate
, 2 years ago
Error creating bean with name 'org.springframework.boot.autoconfigure.velocity.VelocityAutoConfiguration': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Cannot find template location: class path resource [templates/] (please add some templates, check your Velocity configuration, or set spring.velocity.checkTemplateLocation=false)
via Stack Overflow by Thufir
, 2 years ago
Error creating bean with name 'smtpserver': Invocation of init method failed; nested exception is org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:25
via GitHub by yinjihuan
, 3 months ago
Error creating bean with name 'redisAutoInit': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: redis.clients.jedis.JedisPool.<init>(Lorg/apache/commons/pool2/impl/GenericObjectPoolConfig;Ljava/lang/String;IILjava/lang/String;ILjava/lang/String;Z)V
via Stack Overflow by user4567570
, 11 months ago
Error creating bean with name 'persistenceConfiguration': Invocation of init method failed; nested exception is org.springframework.orm.jpa.JpaSystemException: could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MatchService': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.neo4j.driver.v1.Driver.session(Lorg/neo4j/driver/v1/AccessMode;)Lorg/neo4j/driver/v1/Session;
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:554)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)

Users with the same issue

2 times, 3 days ago
3 times, 7 months ago
4 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.