org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'httpHandler' defined in class path resource [org/springframework/boot/autoconfigure/reactiveweb/ReactiveWebAutoConfiguration$WebReactiveHandlerConfiguration.class]: Unsatisfied dependency expressed through method 'httpHandler' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dispatcherHandler' defined in class path resource [org/springframework/boot/autoconfigure/reactiveweb/ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.reactive.DispatcherHandler]: Factory method 'dispatcherHandler' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/reactiveweb/ReactiveWebAutoConfiguration$WebReactiveConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to introspect annotations on public com.gainsight.common.service.Service com.gainsight.web.controller.ActivityController.getService()

GitHub | gs-spadmanabhan | 3 months ago
  1. 0

    GitHub comment 23#244897201

    GitHub | 3 months ago | gs-spadmanabhan
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'httpHandler' defined in class path resource [org/springframework/boot/autoconfigure/reactiveweb/ReactiveWebAutoConfiguration$WebReactiveHandlerConfiguration.class]: Unsatisfied dependency expressed through method 'httpHandler' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dispatcherHandler' defined in class path resource [org/springframework/boot/autoconfigure/reactiveweb/ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.reactive.DispatcherHandler]: Factory method 'dispatcherHandler' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/reactiveweb/ReactiveWebAutoConfiguration$WebReactiveConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to introspect annotations on public com.gainsight.common.service.Service com.gainsight.web.controller.ActivityController.getService()
  2. 0

    Robolectric fails to run tests with google play services (maps)

    Stack Overflow | 3 years ago | alex
    java.lang.NoClassDefFoundError: com/google/android/gms/maps/model/LatLng
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Getting Exception When Using OAuth in Web Service

    Stack Overflow | 4 years ago | Jagdish Karangiya
    java.lang.NoClassDefFoundError: com/google/api/client/http/HttpRequestInitializer
  5. 0

    Cglib Enhancer of HashMap on Google App Engine throws a Class Not Found Exception

    Stack Overflow | 5 years ago | larsegar
    java.lang.NoClassDefFoundError: [Ljava/util/HashMap$Entry; at com.google.appengine.runtime.Request.process-02796318ce7d3a7b(Request.java)

    8 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.ClassNotFoundException

      javax.servlet.http.HttpServletResponse

      at java.net.URLClassLoader.findClass()
    2. Java RT
      Class.getDeclaredMethod
      1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      4. java.lang.Class.getDeclaredMethods0(Native Method)
      5. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      6. java.lang.Class.getDeclaredMethod(Class.java:2128)
      6 frames
    3. Spring Core
      AnnotatedElementUtils.findMergedAnnotation
      1. org.springframework.core.annotation.AnnotatedElementUtils.searchWithFindSemantics(AnnotatedElementUtils.java:1159)
      2. org.springframework.core.annotation.AnnotatedElementUtils.searchWithFindSemantics(AnnotatedElementUtils.java:1039)
      3. org.springframework.core.annotation.AnnotatedElementUtils.searchWithFindSemantics(AnnotatedElementUtils.java:1013)
      4. org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotationAttributes(AnnotatedElementUtils.java:638)
      5. org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation(AnnotatedElementUtils.java:712)
      5 frames
    4. org.springframework.web
      AbstractHandlerMethodMapping.lambda$detectHandlerMethods$0
      1. org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping.createRequestMappingInfo(RequestMappingHandlerMapping.java:195)
      2. org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping.getMappingForMethod(RequestMappingHandlerMapping.java:177)
      3. org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping.getMappingForMethod(RequestMappingHandlerMapping.java:43)
      4. org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping.lambda$detectHandlerMethods$0(AbstractHandlerMethodMapping.java:171)
      4 frames
    5. Spring Core
      MethodIntrospector.selectMethods
      1. org.springframework.core.MethodIntrospector$1.doWith(MethodIntrospector.java:72)
      2. org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:546)
      3. org.springframework.core.MethodIntrospector.selectMethods(MethodIntrospector.java:68)
      3 frames
    6. org.springframework.web
      RequestMappingHandlerMapping.afterPropertiesSet
      1. org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping.detectHandlerMethods(AbstractHandlerMethodMapping.java:170)
      2. org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping.initHandlerMethods(AbstractHandlerMethodMapping.java:154)
      3. org.springframework.web.reactive.result.method.AbstractHandlerMethodMapping.afterPropertiesSet(AbstractHandlerMethodMapping.java:126)
      4. org.springframework.web.reactive.result.method.annotation.RequestMappingHandlerMapping.afterPropertiesSet(RequestMappingHandlerMapping.java:117)
      4 frames
    7. Spring Beans
      DefaultListableBeanFactory.getBeansOfType
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
      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:304)
      6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
      8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
      9. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:499)
      9 frames
    8. Spring Context
      AbstractApplicationContext.getBeansOfType
      1. org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1192)
      1 frame
    9. Spring Beans
      BeanFactoryUtils.beansOfTypeIncludingAncestors
      1. org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:310)
      1 frame
    10. org.springframework.web
      DispatcherHandler.setApplicationContext
      1. org.springframework.web.reactive.DispatcherHandler.initStrategies(DispatcherHandler.java:88)
      2. org.springframework.web.reactive.DispatcherHandler.setApplicationContext(DispatcherHandler.java:84)
      2 frames
    11. org.springframework.boot
      ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration$$EnhancerBySpringCGLIB$$5aada75$$FastClassBySpringCGLIB$$49e78723.invoke
      1. org.springframework.boot.autoconfigure.reactiveweb.ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration.dispatcherHandler(ReactiveWebAutoConfiguration.java:69)
      2. org.springframework.boot.autoconfigure.reactiveweb.ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration$$EnhancerBySpringCGLIB$$5aada75.CGLIB$dispatcherHandler$1(<generated>)
      3. org.springframework.boot.autoconfigure.reactiveweb.ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration$$EnhancerBySpringCGLIB$$5aada75$$FastClassBySpringCGLIB$$49e78723.invoke(<generated>)
      3 frames
    12. Spring Core
      MethodProxy.invokeSuper
      1. org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
      1 frame
    13. Spring Context
      ConfigurationClassEnhancer$BeanMethodInterceptor.intercept
      1. org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
      1 frame
    14. org.springframework.boot
      ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration$$EnhancerBySpringCGLIB$$5aada75.dispatcherHandler
      1. org.springframework.boot.autoconfigure.reactiveweb.ReactiveWebAutoConfiguration$DispatcherHandlerConfiguration$$EnhancerBySpringCGLIB$$5aada75.dispatcherHandler(<generated>)
      1 frame
    15. 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
    16. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
      2. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      7. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
      8. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      9. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
      10. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
      11. org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
      12. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1118)
      13. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1046)
      14. org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:834)
      15. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
      16. org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
      17. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)
      18. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)
      19. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
      20. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
      21. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
      22. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
      23. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
      24. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
      24 frames
    17. Spring Boot
      ReactiveWebApplicationContext.onRefresh
      1. org.springframework.boot.context.embedded.ReactiveWebApplicationContext.getHttpHandler(ReactiveWebApplicationContext.java:110)
      2. org.springframework.boot.context.embedded.ReactiveWebApplicationContext.createReactiveHttpServer(ReactiveWebApplicationContext.java:71)
      3. org.springframework.boot.context.embedded.ReactiveWebApplicationContext.onRefresh(ReactiveWebApplicationContext.java:49)
      3 frames
    18. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535)
      1 frame
    19. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
      2. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
      4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
      5 frames
    20. com.gainsight
      ScribbleApplication.main
      1. com.gainsight.ScribbleApplication.main(ScribbleApplication.java:19)
      1 frame
    21. 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
    22. Spring Boot Maven Plugin
      AbstractRunMojo$LaunchRunner.run
      1. org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:483)
      1 frame
    23. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame