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
相关产品推荐
相关产品推荐

