LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the contex

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/y41992910/article/details/90169533

最近在启动一个项目的时候,出现如下错误
但是该项目在测试系统是可以正常运行的,所以代码和配置是不会有问题的,那么就只能是我们本地的环境有问题

经过查看,虽然eclipse引用的jdk是1.7,但实际打开查看该jdk的时候,里面是1.8的版本,
安装一个1.7的,然后应用这个1.7的jdk,重新启动即可

java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext

猜你喜欢

转载自blog.csdn.net/y41992910/article/details/90169533
今日推荐