LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sun Jan 13 17:59:19 CST 2019]; root of context hierarch


在運行項目時出現了:LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sun Jan 13 17:59:19 CST 2019]; root of context hierarchy

我在百度搜索了半天,都試了一下,卻都不是我要的結果, 后來才發現這不是我運行異常真正的引發點。

 

后來我往上翻了一下:看到了: java.lang.ClassNotFoundException: com.sun.tools.internal.xjc.model.Model

原來是我Model導入的包不對。

 

 

可能你出現LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Sun Jan 13 17:59:19 CST 2019]; root of context hierarch並不是這個引發的問題,

也有可能就是單純因為這個引發的問題:   可以參考 https://blog.csdn.net/u011418173/article/details/79066323

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM