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的版本冲突

 


版权声明:本文为java821643原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。