You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Spring Boot运行报错:ConfigFileApplicationListener未实现supportsSourceType方法

运行时AbstractMethodError问题求助

我在开发EnergyDashboard项目时,启动遇到了如下运行时异常:

Exception in thread "main" java.lang.AbstractMethodError: Receiver class org.springframework.boot.context.config.ConfigFileApplicationListener does not define or inherit an implementation of the resolved method 'abstract boolean supportsSourceType(java.lang.Class)' of interface org.springframework.context.event.SmartApplicationListener.

完整堆栈信息、当前POM配置、关联XML逻辑的HTML文件均已整理好,如需细节可提供。

我已经尝试了两种方案,但问题都没解决:

  • 修改POM中的Spring Boot版本为2.6.3
  • 执行clean install -U命令清理项目并重新构建

请问还有哪些可能的原因?如果我自己找到原因会更新问题,需要更多细节请告诉我。

内容的提问来源于stack exchange,提问作者invzbl3

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.01 17:22:11