java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@de3a06f: startup date [Mon Feb 23 07:13:22 GMT 2015]; root of context hierarchy

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Upgrade spring-web and spring-webmvc dependencies. Also upgrade your Java version to Java 8 if using less.

Solutions on the web

via Spring JIRA by Arcadius Ahouansou, 1 year ago
LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@de3a06f: startup date [Mon Feb 23 07:13:22 GMT 2015]; root of context hierarchy
via Spring JIRA by Arcadius Ahouansou, 1 year ago
LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@de3a06f: startup date [Mon Feb 23 07:13:22 GMT 2015]; root of context hierarchy
via GitHub by piorkowskiprzemyslaw
, 2 years ago
LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@50a638b5: startup date [Tue Aug 11 12:17:57 GMT 2015]; root of context hierarchy
via GitHub by piorkowskiprzemyslaw
, 2 years ago
LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6a400542: startup date [Wed Aug 12 09:36:08 GMT 2015]; root of context hierarchy
via Stack Overflow by A Regular Guy
, 4 months ago
LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@ec4505: startup date [Tue Aug 22 13:28:44 EEST 2017]; root of context hierarchy
via GitHub by jkgeekJack
, 5 months ago
LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@2fd66ad3: startup date [Sun Aug 13 11:48:22 CST 2017]; root of context hierarchy
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@de3a06f: startup date [Mon Feb 23 07:13:22 GMT 2015]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:357)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:343)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:961)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:950)
at com.menelic.blog.solrapi.Application.main(Application.java:15)

Users with the same issue

4 times, 1 week ago
6 times, 2 weeks ago
140 times, 1 month ago
Once, 1 month ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.