springBoot启动报错:
Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.system.ApplicationPidFileWriter

原因
项目中有两个boot的版本,一个高版本一个低版本,导致冲突.
解决方法
查看自己项目中导入的依赖里,是否包含其他版本的boot与自己pom.xml里的boot的版本冲突
本文详细解析了SpringBoot启动时报错的原因,指出项目中存在不同版本的SpringBoot导致的冲突问题,并提供了有效的解决方法,帮助读者排查并修复依赖冲突。
springBoot启动报错:
Cannot instantiate interface org.springframework.context.ApplicationListener : org.springframework.boot.system.ApplicationPidFileWriter

原因
项目中有两个boot的版本,一个高版本一个低版本,导致冲突.
解决方法
查看自己项目中导入的依赖里,是否包含其他版本的boot与自己pom.xml里的boot的版本冲突
3323
1万+
2369
3113