报错信息:

Exception in thread “main” java.lang.AbstractMethodError: org.springframework.boot.context.config.ConfigFileApplicationListener.supportsSourceType(Ljava/lang/Class;)Z
 

有经验的开发人员都知道,SpringBoot是由Spring5演变而来,报这个错误时因为pom.xml中引入了spring的依赖,去掉之后就可以正常启动了。

我这项目是因为引入了以下两个包,又是copy 粘贴若得祸:

SpringBoot调试:Exception in thread main java.lang.AbstractMethodError: org.springframework.boot.cont

 

 

相关文章:

  • 2021-11-29
  • 2021-09-09
  • 2021-10-14
  • 2021-11-08
  • 2021-09-11
  • 2021-10-10
  • 2021-11-12
猜你喜欢
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案