Eclipse RCP 中的间歇性 java.lang.LinkageError - Equinox

发布于 2024-09-12 18:54:21 字数 429 浏览 2 评论 0原文

我正在使用 Equinox 执行环境开发一个项目,并且使用 cxf-dosgi-ri-singlebundle-distribution CXF 包。我正在 Eclipse RCP (galileo) 中运行我的测试。当我第一次使用新添加的 CXF 包启动该程序时,一切正常。但在第二次尝试时,我在 cxf-dosgi-ri-singlebundle-distribution 包中遇到了 java.lang.LinkageError 。我添加了一些临时的“使用”指令,问题就消失了。但在随后的启动中,LinkageError又出现了!所以我再次修改(使用 touch manifest.mf!!!)清单,程序正确启动。 要点是,当且仅当我“触摸”cxf-dosgi-ri-singlebundle-distribution 的清单文件时,Eclipse 才能正确启动捆绑包。 有人从未遇到过类似的问题吗?

非常感谢, 马泰奥

I'm developing a project with Equinox execution environment and I'm using the cxf-dosgi-ri-singlebundle-distribution CXF bundle. I'm running my tests within Eclipse RCP (galileo). When I started the program for the first time with the newly added CXF bundle everything worked fine. But at the second try I got a java.lang.LinkageError in cxf-dosgi-ri-singlebundle-distribution bundle. I added some ad hoc "uses" directives, and the problem diappeared. But at the subsequent start the LinkageError was there again! So I modify again (with touch manifest.mf !!!) the manifest and the program started correctly.
The point is that Eclipse is able to correctly start the bundles if and only if I "touch" the manifest file of cxf-dosgi-ri-singlebundle-distribution.
Does anyone have never experienced a similar issue?

Thank you very much,
matteo

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鲜血染红嫁衣 2024-09-19 18:54:21

致相关人员:我完全删除并从头开始重新创建了 Eclipse 工作区,并将 cxf-dosgi-ri-singlebundle-distribution 升级到了新的可用版本(我使用的是 v 1.1,后来升级到了 v 1.2)。问题消失了。

To Whom It May Concern: I completely removed and recreated from scratch the eclipse workspace and I upgraded the cxf-dosgi-ri-singlebundle-distribution to a newly available version (I was using v 1.1 and I upgraded to v 1.2). The problem disappeared.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文