java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2fb1c977: startup date [Wed Dec 28 03:48:37 GMT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@4b45caee

GitHub | peanutpi | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    spring-boot-devtool: auto reload not working with spring-cloud-stream

    GitHub | 2 months ago | peanutpi
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2fb1c977: startup date [Wed Dec 28 03:48:37 GMT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@4b45caee
  2. 0

    Error startup when using Spring Cloud Discovery

    GitHub | 6 months ago | jiangyuhe123
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@48d5f34e: startup date [Sat Aug 27 12:19:12 CST 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@291caca8
  3. 0

    spring-boot-devtool not working with spring-cloud-stream

    Stack Overflow | 2 months ago | Pratik Shah
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2fb1c977: startup date [Wed Dec 28 03:48:37 GMT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@4b45caee
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ZookeeperHealthConfig @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation)?

    GitHub | 9 months ago | zhaiyuyong
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7d373bcf: startup date [Wed May 18 09:42:34 CST 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@57a3e26a
  6. 0

    ClassNotFoundException: org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor not found

    Stack Overflow | 4 months ago | user2035039
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@4e4aea35: startup date [Wed Oct 19 12:36:20 CEST 2016]; root of context hierarchy
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.IllegalStateException

    LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2fb1c977: startup date [Wed Dec 28 03:48:37 GMT 2016]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@4b45caee

    at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor()
  2. Spring Context
    AbstractApplicationContext.close
    1. org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:417)[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1002)[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:961)[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE]
    3 frames
  3. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:818)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    2. org.springframework.boot.SpringApplication.run(SpringApplication.java:326)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    4 frames
  4. com.dw.test
    ScsProducerApplication.main
    1. com.dw.test.ScsProducerApplication.main(ScsProducerApplication.java:24)[?:?]
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_112]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_112]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_112]
    4. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_112]
    4 frames
  6. org.springframework.boot
    RestartLauncher.run
    1. org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)[spring-boot-devtools-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]
    1 frame