java.lang.IllegalStateException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Execute mvn dependency:tree from your project's root directory.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    • 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(AbstractApplicationContext.java:417)[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1002)[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:961)[spring-context-4.3.4.RELEASE.jar!/:4.3.4.RELEASE] at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:818)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:326)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.2.RELEASE.jar!/:1.4.2.RELEASE] at com.dw.test.ScsProducerApplication.main(ScsProducerApplication.java:24)[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_112] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_112] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_112] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_112] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)[spring-boot-devtools-1.4.2.RELEASE.jar!/:1.4.2.RELEASE]

    Users with the same issue

    SteVio1989
    6 times, last one,
    tomthomas
    6 times, last one,
    Matty
    1 times, last one,
    tvrmsmith
    2 times, last one,
    Axelo
    22 times, last one,
    143 more bugmates