org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphDatabaseService' defined in file [/app/sample/tomcat/apache-tomcat-8.0.36/webapps/SampleApp/WEB-INF/classes/dao-layer.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Factory method 'newEmbeddedDatabase' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /app/sample/neo4j

Stack Overflow | techie2k | 5 months ago
  1. 0

    Neo4j Embedded DB unable to start

    Stack Overflow | 5 months ago | techie2k
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'graphDatabaseService' defined in file [/app/sample/tomcat/apache-tomcat-8.0.36/webapps/SampleApp/WEB-INF/classes/dao-layer.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.graphdb.GraphDatabaseService]: Factory method 'newEmbeddedDatabase' threw exception; nested exception is java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /app/sample/neo4j
  2. 0

    What might be the reason for this type of error?

    Stack Overflow | 3 months ago | eshwar chettri
    java.lang.VerifyError: Cannot inherit from final class
  3. 0

    java.lang.VerifyError: Cannot inherit from final class

    Stack Overflow | 1 month ago | davide
    org.apache.openejb.OpenEJBException: Creating application failed: /home/davide/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/frontend: Cannot inherit from final class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error with oauth verify on google signIn

    GitHub | 2 years ago | wonderfly
    org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.VerifyError: Cannot inherit from final class

    16 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.VerifyError

      Cannot inherit from final class

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      3 frames
    3. Glassfish Core
      WebappClassLoaderBase.loadClass
      1. org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2541)
      2. org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:858)
      3. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1301)
      4. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)
      4 frames
    4. org.neo4j.kernel
      LuceneLabelScanStoreExtension.newInstance
      1. org.neo4j.kernel.api.impl.labelscan.storestrategy.BitmapDocumentFormat.<clinit>(BitmapDocumentFormat.java:40)
      2. org.neo4j.kernel.api.impl.labelscan.LuceneLabelScanIndexBuilder.<init>(LuceneLabelScanIndexBuilder.java:34)
      3. org.neo4j.kernel.api.impl.labelscan.LuceneLabelScanIndexBuilder.create(LuceneLabelScanIndexBuilder.java:49)
      4. org.neo4j.kernel.api.impl.labelscan.LuceneLabelScanStoreExtension.getLuceneIndex(LuceneLabelScanStoreExtension.java:90)
      5. org.neo4j.kernel.api.impl.labelscan.LuceneLabelScanStoreExtension.newInstance(LuceneLabelScanStoreExtension.java:79)
      6. org.neo4j.kernel.api.impl.labelscan.LuceneLabelScanStoreExtension.newInstance(LuceneLabelScanStoreExtension.java:40)
      6 frames
    5. Neo4j - Graph Database Kernel
      LifeSupport.start
      1. org.neo4j.kernel.extension.KernelExtensions.init(KernelExtensions.java:69)
      2. org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:406)
      3. org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:416)
      4. org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:62)
      5. org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:98)
      5 frames
    6. org.neo4j.kernel
      GraphDatabaseFacadeFactory.newFacade
      1. org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140)
      2. org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:144)
      3. org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:40)
      4. org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:108)
      4 frames
    7. Neo4j - Graph Database Kernel
      GraphDatabaseFactory.newEmbeddedDatabase
      1. org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:100)
      2. org.neo4j.graphdb.factory.GraphDatabaseFactory.lambda$createDatabaseCreator$203(GraphDatabaseFactory.java:89)
      3. org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:183)
      4. org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:65)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    9. Spring Beans
      BeanDefinitionValueResolver.resolveReference
      1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
      2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
      3. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
      4. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      9. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      10. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      11. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      12. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      13. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
      13 frames