springBoot啓動報錯:
Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.system.ApplicationPidFileWriter
原因
項目中有兩個boot的版本,一個高版本一個低版本,導致衝突.
解決方法
查看自己項目中導入的依賴裏,是否包含其他版本的boot與自己pom.xml裏的boot的版本衝突
springBoot啓動報錯:
Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.system.ApplicationPidFileWriter
原因
項目中有兩個boot的版本,一個高版本一個低版本,導致衝突.
解決方法
查看自己項目中導入的依賴裏,是否包含其他版本的boot與自己pom.xml裏的boot的版本衝突