java.lang.reflect.InvocationTargetException

GitHub | EXPEanlagnada | 3 months ago
  1. 0

    Actuator version problem with latest version of Spring Boot

    GitHub | 8 months ago | colin-shine
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'infoEndpoint' defined in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.boot.actuate.endpoint.InfoEndpoint.invoke()Ljava/util/Map;
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NoSuchMethodError when retrieving a @QueryResult in Spring Data Neo4j 4.1-SNAPSHOT

    Stack Overflow | 10 months ago | fkorn
    java.lang.NoSuchMethodError: org.neo4j.ogm.response.model.DefaultRestModel.<init>(Ljava/util/Map;)V

    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.NoSuchMethodError

      org.springframework.boot.actuate.endpoint.InfoEndpoint.<init>(Ljava/util/Map;)V

      at org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration$InfoEndpointRebinderConfiguration$1.<init>()
    2. org.springframework.cloud
      RefreshEndpointAutoConfiguration$InfoEndpointRebinderConfiguration.postProcessAfterInitialization
      1. org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration$InfoEndpointRebinderConfiguration$1.<init>(RefreshEndpointAutoConfiguration.java:156)
      2. org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration$InfoEndpointRebinderConfiguration.infoEndpoint(RefreshEndpointAutoConfiguration.java:156)
      3. org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration$InfoEndpointRebinderConfiguration.postProcessAfterInitialization(RefreshEndpointAutoConfiguration.java:144)
      3 frames
    3. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
      9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:775)
      9 frames
    4. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
      2 frames
    5. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
      2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
      3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
      6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
      6 frames
    6. com.sample.www
      Application.main
      1. com.sample.www.meta.pixel.trend.Application.main(Application.java:18)
      1 frame
    7. 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:497)
      4 frames
    8. Spring Boot Maven Plugin
      AbstractRunMojo$LaunchRunner.run
      1. org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:506)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame