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