Problem running Spring Data ElasticSearch alongside Spring Data Neo4J


(apprentice321) #1

When I try to setup ElasticSearch alongside Neo4j (spring data) . I get a
load of error messages (see below). I think this is a incompatibility
issue, any possible solutions exists?

15:55:11.411 [localhost-startStop-1] ERROR o.s.web.context.ContextLoader -
Context initialization failed
org.springframework.beans.factory.BeanCreationException: 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 name
'org.springframework.data.neo4j.config.Neo4jConfiguration#0': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
method: public void
org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:741)
~[org.springframework.context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
~[org.springframework.context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
[catalina.jar:7.0.39]
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
[catalina.jar:7.0.39]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[catalina.jar:7.0.39]
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
[catalina.jar:7.0.39]
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
[catalina.jar:7.0.39]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[na:1.7.0_21]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[na:1.7.0_21]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_21]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_21]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21]
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.data.neo4j.config.Neo4jConfiguration#0': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
method: public void
org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1116)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1025)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:921)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:439)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
~[spring-tx-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.(PersistenceExceptionTranslationInterceptor.java:79)
~[spring-tx-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.(PersistenceExceptionTranslationAdvisor.java:71)
~[spring-tx-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:85)
~[spring-tx-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1502)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1470)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
... 20 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire method: public void
org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:601)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
... 45 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:910)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:558)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
... 47 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.neo4j.kernel.EmbeddedGraphDatabase]:
Constructor threw exception; nested exception is
java.lang.RuntimeException: org.neo4j.kernel.lifecycle.LifecycleException:
Component 'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was
successfully initialized, but failed to start. Please see attached cause
exception.
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
... 59 common frames omitted
Caused by: java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:280)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at
org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:106)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at
org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:81)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method) ~[na:1.7.0_21]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
~[na:1.7.0_21]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
~[na:1.7.0_21]
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
~[na:1.7.0_21]
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
~[org.springframework.beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]
... 61 common frames omitted
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:258)
~[neo4j-kernel-1.9.3.jar:1.9.3]
... 68 common frames omitted
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.index.lucene.LuceneKernelExtension@197cc21b' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at
org.neo4j.kernel.extension.KernelExtensions.start(KernelExtensions.java:113)
~[neo4j-kernel-1.9.3.jar:1.9.3]
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491)
~[neo4j-kernel-1.9.3.jar:1.9.3]
... 70 common frames omitted
Caused by: java.lang.VerifyError: class
org.neo4j.index.impl.lucene.LuceneDataSource$1 overrides final method
tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;
at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.7.0_21]
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
~[na:1.7.0_21]
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
~[na:1.7.0_21]
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2888)
~[catalina.jar:7.0.39]
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1172)
~[catalina.jar:7.0.39]
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
~[catalina.jar:7.0.39]
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
~[catalina.jar:7.0.39]
at
org.neo4j.index.lucene.LuceneKernelExtension.start(LuceneKernelExtension.java:83)
~[neo4j-lucene-index-1.9.3.jar:1.9.3]
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491)
~[neo4j-kernel-1.9.3.jar:1.9.3]
... 73 common frames omitted
Sep 17, 2013 3:55:11 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: 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 name
'org.springframework.data.neo4j.config.Neo4jConfiguration#0': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
method: public void
org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:529)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at
org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:741)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.data.neo4j.config.Neo4jConfiguration#0': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
method: public void
org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1025)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:921)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:439)
at
org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277)
at
org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139)
at
org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.(PersistenceExceptionTranslationInterceptor.java:79)
at
org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.(PersistenceExceptionTranslationAdvisor.java:71)
at
org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:85)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1502)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1470)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
... 20 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire method: public void
org.springframework.data.neo4j.config.Neo4jConfiguration.setGraphDatabaseService(org.neo4j.graphdb.GraphDatabaseService);
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:601)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
... 45 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'graphDatabaseService' defined in URL
[file:/Users/khaliluddin/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps//WEB-INF/classes/neo4j-app-context.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.neo4j.kernel.EmbeddedGraphDatabase]: Constructor threw
exception; nested exception is java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:949)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:910)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:853)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:768)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:558)
... 47 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.neo4j.kernel.EmbeddedGraphDatabase]:
Constructor threw exception; nested exception is
java.lang.RuntimeException: org.neo4j.kernel.lifecycle.LifecycleException:
Component 'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was
successfully initialized, but failed to start. Please see attached cause
exception.
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
... 59 more
Caused by: java.lang.RuntimeException:
org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:280)
at
org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:106)
at
org.neo4j.kernel.EmbeddedGraphDatabase.(EmbeddedGraphDatabase.java:81)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
... 61 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.extension.KernelExtensions@22a8b532' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104)
at
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:258)
... 68 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.index.lucene.LuceneKernelExtension@197cc21b' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:497)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:104)
at
org.neo4j.kernel.extension.KernelExtensions.start(KernelExtensions.java:113)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491)
... 70 more
Caused by: java.lang.VerifyError: class
org.neo4j.index.impl.lucene.LuceneDataSource$1 overrides final method
tokenStream.(Ljava/lang/String;Ljava/io/Reader;)Lorg/apache/lucene/analysis/TokenStream;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2888)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1172)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
at
org.neo4j.index.lucene.LuceneKernelExtension.start(LuceneKernelExtension.java:83)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:491)
... 73 more

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2