SpringBoot啓動報錯:Cannot instantiate interface org.springframework.context.ApplicationListener.....

springBoot啓動報錯:

Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.system.ApplicationPidFileWriter

原因

   項目中有兩個boot的版本,一個高版本一個低版本,導致衝突.

解決方法

  查看自己項目中導入的依賴裏,是否包含其他版本的boot與自己pom.xml裏的boot的版本衝突

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章