org.eclipse.OSGI jar 中似乎缺少类?
我收到了一个我正在尝试运行的新程序。它使用 OSGI,并在尝试访问 org.eclipse.osgi.framework.internal.core.OSGi 时返回 clasnotfoundException。我试图找出这个类应该位于哪里。
该软件包附带一个名为 org.eclipse.OSGI.jar(无版本号)的 jar 文件。我检查了这个 jar,它包含 org.eclipse.osgi.framework.internal.core 包;但不是其中的 OSGi 类。我检查了与同一应用程序的早期版本 (org.eclipse.OSGI_3.5.1) 一起打包的旧 jar,它也没有 OSGi 类。我尝试在网上查找,我能够确定旧的 org.eclipse.OSGI_3.3 jar 具有 OSGi 类,但除此之外没有发现任何暗示。
那么有人可以消除我的困惑吗?这个类是否应该是我的 3.5 jar 的一部分,而我太盲目而无法找到它,它是完全不同的 jar 的一部分,还是已被完全删除?
I received a new program which I am trying to run. It uses OSGI and is returning a clasnotfoundexception when it tries to access org.eclipse.osgi.framework.internal.core.OSGi. I'm trying to figure out where this class should be located.
The package came with a jar file named org.eclipse.OSGI.jar (no version numbers). I checked this jar and it contains the org.eclipse.osgi.framework.internal.core package; but not an OSGi class within it. I checked the old jar that came packaged with an earlier version of the same application (org.eclipse.OSGI_3.5.1) and it doesn't have the OSGi class either. I tried looking online and I was able to determine that the older org.eclipse.OSGI_3.3 jar had the OSGi class, but otherwise found no allusion to it.
So can someone clear up my confusion. Is this class suppose to be part of my 3.5 jar and I'm just too blind to find it, is it part of an entirely different jar, or has it been removed entirely?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个已被替换的旧启动器类。您应该查阅 org.eclipse.osgi.jar 中的 Main-Class 清单标头。
That is an old launcher class that has been replaced. You should consult the Main-Class manifest header in your org.eclipse.osgi.jar.