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

Samebug tips

  1. ,
    Expert tip

    Check if you didn't forget to instantiate your topic in the kafka broker.

  2. ,

    This error comes up in the old version of spring-test , you should update tospring test 4.3.2

Solutions on the web

via Spring JIRA by Jonathan Crosmer, 2 years ago
Error creating bean with name 'neo4jTemplate' defined in class org.springframework.data.neo4j.config.Neo4jConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method
via Spring JIRA by Jonathan Crosmer, 1 year ago
Error creating bean with name 'neo4jTemplate' defined in class org.springframework.data.neo4j.config.Neo4jConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method
via Stack Overflow by Vinod
, 2 years ago
Error creating bean with name 'helloWorldBean' defined in class com.websystique.spring.configuration.HelloWorldConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method
via Stack Overflow by mpkorstanje
, 2 years ago
Error creating bean with name 'jobBuilders' defined in class path resource [org/springframework/batch/core/configuration/annotation/ModularBatchConfiguration.class]: Instantiation of bean failed; nested exception is
via Stack Overflow by membersound
, 2 years ago
Error creating bean with name 'getMySoapService' defined in class path resource [PortConfig.class]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public MySoapService PortConfig.getMySoapService()] threw exception; nested exception is java.lang.NullPointerException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jTemplate' defined in class org.springframework.data.neo4j.config.Neo4jConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.data.neo4j.support.Neo4jTemplate org.springframework.data.neo4j.config.Neo4jConfiguration.neo4jTemplate() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError: org/neo4j/index/impl/lucene/QueryNotPossibleException at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:597)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1095)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:990)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)[spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)[spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.support.GenericXmlApplicationContext.<init>(GenericXmlApplicationContext.java:70)[spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at com.e2sd.main.Main$$anonfun$makeApplicationContext$2.apply(Main.scala:123)[classes/:na] at com.e2sd.main.Main$$anonfun$makeApplicationContext$2.apply(Main.scala:120)[classes/:na] at scala.util.Try$.apply(Try.scala:161)[scala-library-2.10.5.jar:na] at com.e2sd.main.Main$.makeApplicationContext(Main.scala:120)[classes/:na] at com.e2sd.main.Main$$anonfun$makeApplicationContext$1.applyOrElse(Main.scala:131)[classes/:na] at com.e2sd.main.Main$$anonfun$makeApplicationContext$1.applyOrElse(Main.scala:126)[classes/:na] at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33)[scala-library-2.10.5.jar:na] at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)[scala-library-2.10.5.jar:na] at scala.util.Try$.apply(Try.scala:161)[scala-library-2.10.5.jar:na] at scala.util.Failure.recover(Try.scala:185)[scala-library-2.10.5.jar:na] at com.e2sd.main.Main$.makeApplicationContext(Main.scala:126)[classes/:na] at com.e2sd.main.Main$$anonfun$main$2.apply$mcV$sp(Main.scala:43)[classes/:na] at com.e2sd.main.Main$$anonfun$main$2.apply(Main.scala:34)[classes/:na] at com.e2sd.main.Main$$anonfun$main$2.apply(Main.scala:34)[classes/:na] at scala.util.Try$.apply(Try.scala:161)[scala-library-2.10.5.jar:na] at com.e2sd.main.Main$.main(Main.scala:34)[classes/:na] at com.e2sd.main.Main.main(Main.scala)[classes/:na]Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.data.neo4j.support.Neo4jTemplate org.springframework.data.neo4j.config.Neo4jConfiguration.neo4jTemplate() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError: org/neo4j/index/impl/lucene/QueryNotPossibleException at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:188)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] ... 29 moreCaused by: java.lang.NoClassDefFoundError: org/neo4j/index/impl/lucene/QueryNotPossibleException at org.springframework.data.neo4j.support.Neo4jTemplate.<init>(Neo4jTemplate.java:452)[spring-data-neo4j-3.3.1.RELEASE.jar:na] at org.springframework.data.neo4j.config.Neo4jConfiguration.neo4jTemplate(Neo4jConfiguration.java:136)[spring-data-neo4j-3.3.1.RELEASE.jar:na] at org.springframework.data.neo4j.config.Neo4jConfiguration$$EnhancerBySpringCGLIB$$8216a265.CGLIB$neo4jTemplate$0(<generated>)[spring-core-4.0.9.RELEASE.jar:na] at org.springframework.data.neo4j.config.Neo4jConfiguration$$EnhancerBySpringCGLIB$$8216a265$$FastClassBySpringCGLIB$$6d0438f1.invoke(<generated>)[spring-core-4.0.9.RELEASE.jar:na] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)[spring-core-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:311)[spring-context-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.data.neo4j.config.Neo4jConfiguration$$EnhancerBySpringCGLIB$$8216a265.neo4jTemplate(<generated>)[spring-core-4.0.9.RELEASE.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_55] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_55] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_55] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_55] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)[spring-beans-4.0.9.RELEASE.jar:4.0.9.RELEASE] ... 30 moreCaused by: java.lang.ClassNotFoundException: org.neo4j.index.impl.lucene.QueryNotPossibleException at java.net.URLClassLoader$1.run(URLClassLoader.java:366)[na:1.7.0_55] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)[na:1.7.0_55] at java.security.AccessController.doPrivileged(Native Method)[na:1.7.0_55] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)[na:1.7.0_55] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)[na:1.7.0_55] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)[na:1.7.0_55] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[na:1.7.0_55] ... 42 more