Advertisement
Guest User

SpringMVC-Neo4j

a guest
Mar 14th, 2015
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 35.69 KB | None | 0 0
  1. WARN : org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt
  2. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jConfig': 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 com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  3.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  4.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  5.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  6.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  7.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  8.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  9.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  10.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  11.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
  12.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
  13.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
  14.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
  15.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
  16.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
  17.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
  18.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
  19.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  20.     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
  21.     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
  22.     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  23.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  24.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  25.     at java.lang.Thread.run(Thread.java:745)
  26. 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 com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  27.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:649)
  28.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  29.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  30.     ... 22 more
  31. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphDatabaseService' defined in com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  32.     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
  33.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
  34.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
  35.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
  36.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  37.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  38.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  39.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  40.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  41.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
  42.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
  43.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
  44.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:606)
  45.     ... 24 more
  46. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  47.     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
  48.     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  49.     ... 36 more
  50. Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  51.     at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:330)
  52.     at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:59)
  53.     at org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:89)
  54.     at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:81)
  55.     at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:181)
  56.     at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:67)
  57.     at com.springMVC.neo4j.configuration.Neo4jConfig.graphDatabaseService(Neo4jConfig.java:29)
  58.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37.CGLIB$graphDatabaseService$0(<generated>)
  59.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37$$FastClassBySpringCGLIB$$bd68a995.invoke(<generated>)
  60.     at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  61.     at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
  62.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37.graphDatabaseService(<generated>)
  63.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  64.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  65.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  66.     at java.lang.reflect.Method.invoke(Method.java:606)
  67.     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  68.     ... 37 more
  69. Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.KernelExtensions@1e95b836' failed to initialize. Please see attached cause exception.
  70.     at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:489)
  71.     at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:72)
  72.     at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:106)
  73.     at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:325)
  74.     ... 53 more
  75. Caused by: java.lang.NoClassDefFoundError: org/neo4j/kernel/impl/nioneo/xa/NeoStoreProvider
  76.     at java.lang.Class.getDeclaredMethods0(Native Method)
  77.     at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
  78.     at java.lang.Class.privateGetPublicMethods(Class.java:2733)
  79.     at java.lang.Class.getMethods(Class.java:1472)
  80.     at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:426)
  81.     at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:323)
  82.     at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:672)
  83.     at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:592)
  84.     at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:244)
  85.     at java.lang.reflect.WeakCache.get(WeakCache.java:141)
  86.     at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:455)
  87.     at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:738)
  88.     at org.neo4j.kernel.extension.KernelExtensions.getKernelExtensionDependencies(KernelExtensions.java:173)
  89.     at org.neo4j.kernel.extension.KernelExtensions.init(KernelExtensions.java:97)
  90.     at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:483)
  91.     ... 56 more
  92. Caused by: java.lang.ClassNotFoundException: org.neo4j.kernel.impl.nioneo.xa.NeoStoreProvider
  93.     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
  94.     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
  95.     ... 71 more
  96. ERROR: org.springframework.web.context.ContextLoader - Context initialization failed
  97. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jConfig': 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 com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  98.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  99.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  100.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  101.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  102.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  103.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  104.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  105.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  106.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
  107.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
  108.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
  109.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
  110.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
  111.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
  112.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
  113.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
  114.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  115.     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
  116.     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
  117.     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  118.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  119.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  120.     at java.lang.Thread.run(Thread.java:745)
  121. 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 com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  122.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:649)
  123.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  124.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  125.     ... 22 more
  126. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphDatabaseService' defined in com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  127.     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
  128.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
  129.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
  130.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
  131.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  132.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  133.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  134.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  135.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  136.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
  137.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
  138.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
  139.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:606)
  140.     ... 24 more
  141. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  142.     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
  143.     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  144.     ... 36 more
  145. Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  146.     at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:330)
  147.     at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:59)
  148.     at org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:89)
  149.     at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:81)
  150.     at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:181)
  151.     at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:67)
  152.     at com.springMVC.neo4j.configuration.Neo4jConfig.graphDatabaseService(Neo4jConfig.java:29)
  153.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37.CGLIB$graphDatabaseService$0(<generated>)
  154.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37$$FastClassBySpringCGLIB$$bd68a995.invoke(<generated>)
  155.     at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  156.     at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
  157.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37.graphDatabaseService(<generated>)
  158.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  159.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  160.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  161.     at java.lang.reflect.Method.invoke(Method.java:606)
  162.     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  163.     ... 37 more
  164. Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.KernelExtensions@1e95b836' failed to initialize. Please see attached cause exception.
  165.     at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:489)
  166.     at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:72)
  167.     at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:106)
  168.     at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:325)
  169.     ... 53 more
  170. Caused by: java.lang.NoClassDefFoundError: org/neo4j/kernel/impl/nioneo/xa/NeoStoreProvider
  171.     at java.lang.Class.getDeclaredMethods0(Native Method)
  172.     at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
  173.     at java.lang.Class.privateGetPublicMethods(Class.java:2733)
  174.     at java.lang.Class.getMethods(Class.java:1472)
  175.     at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:426)
  176.     at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:323)
  177.     at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:672)
  178.     at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:592)
  179.     at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:244)
  180.     at java.lang.reflect.WeakCache.get(WeakCache.java:141)
  181.     at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:455)
  182.     at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:738)
  183.     at org.neo4j.kernel.extension.KernelExtensions.getKernelExtensionDependencies(KernelExtensions.java:173)
  184.     at org.neo4j.kernel.extension.KernelExtensions.init(KernelExtensions.java:97)
  185.     at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:483)
  186.     ... 56 more
  187. Caused by: java.lang.ClassNotFoundException: org.neo4j.kernel.impl.nioneo.xa.NeoStoreProvider
  188.     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
  189.     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
  190.     ... 71 more
  191. mar 14, 2015 2:52:34 PM org.apache.catalina.core.StandardContext listenerStart
  192. SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
  193. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jConfig': 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 com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  194.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  195.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  196.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  197.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  198.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  199.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  200.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  201.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  202.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
  203.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
  204.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
  205.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
  206.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
  207.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
  208.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4728)
  209.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5162)
  210.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  211.     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
  212.     at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
  213.     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  214.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  215.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  216.     at java.lang.Thread.run(Thread.java:745)
  217. 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 com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  218.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:649)
  219.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  220.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  221.     ... 22 more
  222. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphDatabaseService' defined in com.springMVC.neo4j.configuration.Neo4jConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  223.     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
  224.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1111)
  225.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1006)
  226.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
  227.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  228.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  229.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  230.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  231.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  232.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
  233.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
  234.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
  235.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement.inject(AutowiredAnnotationBeanPostProcessor.java:606)
  236.     ... 24 more
  237. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Circular reference involving containing bean 'neo4jConfig' - consider declaring the factory method as static for independence from its containing instance. Factory method 'graphDatabaseService' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  238.     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
  239.     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  240.     ... 36 more
  241. Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, /home/mateusz-b/workspace/nutrilizer/repository/graph.db
  242.     at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:330)
  243.     at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:59)
  244.     at org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:89)
  245.     at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:81)
  246.     at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:181)
  247.     at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:67)
  248.     at com.springMVC.neo4j.configuration.Neo4jConfig.graphDatabaseService(Neo4jConfig.java:29)
  249.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37.CGLIB$graphDatabaseService$0(<generated>)
  250.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37$$FastClassBySpringCGLIB$$bd68a995.invoke(<generated>)
  251.     at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  252.     at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
  253.     at com.springMVC.neo4j.configuration.Neo4jConfig$$EnhancerBySpringCGLIB$$d1283b37.graphDatabaseService(<generated>)
  254.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  255.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  256.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  257.     at java.lang.reflect.Method.invoke(Method.java:606)
  258.     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  259.     ... 37 more
  260. Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.extension.KernelExtensions@1e95b836' failed to initialize. Please see attached cause exception.
  261.     at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:489)
  262.     at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:72)
  263.     at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:106)
  264.     at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:325)
  265.     ... 53 more
  266. Caused by: java.lang.NoClassDefFoundError: org/neo4j/kernel/impl/nioneo/xa/NeoStoreProvider
  267.     at java.lang.Class.getDeclaredMethods0(Native Method)
  268.     at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
  269.     at java.lang.Class.privateGetPublicMethods(Class.java:2733)
  270.     at java.lang.Class.getMethods(Class.java:1472)
  271.     at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:426)
  272.     at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:323)
  273.     at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:672)
  274.     at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:592)
  275.     at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:244)
  276.     at java.lang.reflect.WeakCache.get(WeakCache.java:141)
  277.     at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:455)
  278.     at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:738)
  279.     at org.neo4j.kernel.extension.KernelExtensions.getKernelExtensionDependencies(KernelExtensions.java:173)
  280.     at org.neo4j.kernel.extension.KernelExtensions.init(KernelExtensions.java:97)
  281.     at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:483)
  282.     ... 56 more
  283. Caused by: java.lang.ClassNotFoundException: org.neo4j.kernel.impl.nioneo.xa.NeoStoreProvider
  284.     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
  285.     at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157)
  286.     ... 71 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement