org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.getSession' defined in class path resource [org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is java.util.ServiceConfigurationError: org.neo4j.ogm.driver.Driver: Provider org.neo4j.ogm.drivers.bolt.driver.BoltDriver not found

GitHub | aricooperman | 2 months ago
  1. 0

    Spring Boot 1.4.1 version not working correctly

    GitHub | 2 months ago | aricooperman
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.getSession' defined in class path resource [org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is java.util.ServiceConfigurationError: org.neo4j.ogm.driver.Driver: Provider org.neo4j.ogm.drivers.bolt.driver.BoltDriver not found
  2. 0

    Neo4J trying to load bolt, even though bolt is not found

    GitHub | 2 months ago | xenoterracide
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.getSession' defined in class path resource [org/springframework/boot/autoconfigure/data/neo4j/Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.neo4j.ogm.session.Session]: Factory method 'getSession' threw exception; nested exception is java.util.ServiceConfigurationError: org.neo4j.ogm.driver.Driver: Provider org.neo4j.ogm.drivers.bolt.driver.BoltDriver not found
  3. 0

    Provider HttpDriver not found for version 2.0.5

    GitHub | 2 months ago | jdorleans
    java.util.ServiceConfigurationError: org.neo4j.ogm.driver.Driver: Provider org.neo4j.ogm.drivers.http.driver.HttpDriver not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "Provider org.eclipse.jetty.cdi.websocket.WebSocketCdiInitializer not found", how to fix it?

    Stack Overflow | 1 year ago | Frank
    java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: Provider org.eclipse.jetty.cdi.websocket.WebSocketCdiInitializer not found
  6. 0

    Why Netbeans jetty plugin doesn't run but jetty:run works on my project?

    Stack Overflow | 1 year ago | Frank
    java.util.ServiceConfigurationError: javax.servlet.ServletContainerInitializer: Provider org.eclipse.jetty.cdi.websocket.WebSocketCdiInitializer not found

  1. kid 1 times, last 4 weeks ago
  2. Handemelindo 2 times, last 2 months ago
54 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.util.ServiceConfigurationError

    org.neo4j.ogm.driver.Driver: Provider org.neo4j.ogm.drivers.bolt.driver.BoltDriver not found

    at java.util.ServiceLoader.fail()
  2. Java RT
    ServiceLoader$1.next
    1. java.util.ServiceLoader.fail(ServiceLoader.java:239)[na:1.8.0_102]
    2. java.util.ServiceLoader.access$300(ServiceLoader.java:185)[na:1.8.0_102]
    3. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:372)[na:1.8.0_102]
    4. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)[na:1.8.0_102]
    5. java.util.ServiceLoader$1.next(ServiceLoader.java:480)[na:1.8.0_102]
    5 frames
  3. org.neo4j.ogm
    SessionFactory.openSession
    1. org.neo4j.ogm.service.DriverService.load(DriverService.java:36)[neo4j-ogm-api-2.0.5.jar:na]
    2. org.neo4j.ogm.service.DriverService.load(DriverService.java:59)[neo4j-ogm-api-2.0.5.jar:na]
    3. org.neo4j.ogm.service.Components.loadDriver(Components.java:126)[neo4j-ogm-api-2.0.5.jar:na]
    4. org.neo4j.ogm.service.Components.driver(Components.java:84)[neo4j-ogm-api-2.0.5.jar:na]
    5. org.neo4j.ogm.session.SessionFactory.openSession(SessionFactory.java:81)[neo4j-ogm-core-2.0.5.jar:na]
    5 frames
  4. Spring Data Neo4j
    Neo4jConfiguration.getSession
    1. org.springframework.data.neo4j.config.Neo4jConfiguration.getSession(Neo4jConfiguration.java:56)[spring-data-neo4j-4.1.3.RELEASE.jar:na]
    1 frame
  5. org.springframework.boot
    Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration$$EnhancerBySpringCGLIB$$cb33dd95$$FastClassBySpringCGLIB$$17c28fb0.invoke
    1. org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration.getSession(Neo4jDataAutoConfiguration.java:98)[spring-boot-autoconfigure-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    2. org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration$$EnhancerBySpringCGLIB$$cb33dd95.CGLIB$getSession$1(<generated>)[spring-boot-autoconfigure-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    3. org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration$$EnhancerBySpringCGLIB$$cb33dd95$$FastClassBySpringCGLIB$$17c28fb0.invoke(<generated>)[spring-boot-autoconfigure-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    3 frames
  6. Spring Core
    MethodProxy.invokeSuper
    1. org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)[spring-core-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    1 frame
  7. Spring Context
    ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
    1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    1 frame
  8. org.springframework.boot
    Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration$$EnhancerBySpringCGLIB$$cb33dd95.getSession
    1. org.springframework.boot.autoconfigure.data.neo4j.Neo4jDataAutoConfiguration$SpringBootNeo4jConfiguration$$EnhancerBySpringCGLIB$$cb33dd95.getSession(<generated>)[spring-boot-autoconfigure-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_102]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_102]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_102]
    4. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_102]
    4 frames
  10. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    2. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    8. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:751)[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    11 frames
  11. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
    2 frames
  12. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
    6 frames
  13. hello
    Application.main
    1. hello.Application.main(Application.java:15)[bin/:na]
    1 frame