接收器类没有定义接口 org.springframework.boot.SpringApplicationRunListener 已解析方法抽象的实现

发布于 2025-01-16 10:07:36 字数 1045 浏览 1 评论 0原文

当我尝试使用 java 11

Task :SpringBootVPSApplication.main() 启动应用程序时,我收到此错误 线程“main”中出现异常 java.lang.AbstractMethodError:接收器类 com.comcast.xsp.test.integration.XspTestApplicationRunListener 未定义或继承接口 org.springframework 的已解析方法抽象starting()V 的实现。 boot.SpringApplicationRunListener。 在 org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48) 在 org.springframework.boot.SpringApplication.run(SpringApplication.java:302) 在 org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) 在 org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) 位于 com.comcast.xsp.boot.XspApplication.run(XspApplication.java:25) 位于 com.comcast.provisioning.vps.voiceservice.SpringBootVPSApplication.main(SpringBootVPSApplication.java:17)

任务:SpringBootVPSApplication.main() 失败

当我从 java 8 开始时,应用程序工作正常,但是当我将 xsp boot 从 3.3 升级到 4.5 时,它给了我这个错误。

I'm receiving this error when I'm trying to start my application with java 11

Task :SpringBootVPSApplication.main()
Exception in thread "main" java.lang.AbstractMethodError: Receiver class com.comcast.xsp.test.integration.XspTestApplicationRunListener does not define or inherit an implementation of the resolved method abstract starting()V of interface org.springframework.boot.SpringApplicationRunListener.
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:302)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at com.comcast.xsp.boot.XspApplication.run(XspApplication.java:25)
at com.comcast.provisioning.vps.voiceservice.SpringBootVPSApplication.main(SpringBootVPSApplication.java:17)

Task :SpringBootVPSApplication.main() FAILED

The application was working fine when I started with java 8, but when I upgraded my xsp boot from 3.3 to 4.5 .It is giving me this error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文