0

我在我的应用程序中使用 Jitsi 进行聊天。我通过 SVN 将 Jitsi 源代码下载到我的 eclipse 中。我必须用 Ant 构建这个项目并开始工作。我使用 Ant 执行 build.xml 并且构建成功。但是当我将项目作为 Java 应用程序运行会引发大量异常。

Auto-properties install: reference:file:sc-bundles/plugin-msofficecomm.jar (org.osgi.framework.BundleException: Unable to cache bundle: reference:file:sc-bundles/plugin-msofficecomm.jar - java.io.IOException: Referenced file does not exist: sc-bundles\plugin-msofficecomm.jar)
org.osgi.framework.BundleException: Unable to cache bundle: reference:file:sc-bundles/plugin-msofficecomm.jar
    at org.apache.felix.framework.Felix.installBundle(Felix.java:2545)
    at org.apache.felix.framework.Felix.installBundle(Felix.java:2501)
    at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:150)
    at org.apache.felix.main.AutoProcessor.processAutoProperties(AutoProcessor.java:296)
    at org.apache.felix.main.AutoProcessor.process(AutoProcessor.java:79)
    at org.apache.felix.main.Main.main(Main.java:291)
    at net.java.sip.communicator.launcher.SIPCommunicator.main(SIPCommunicator.java:153)
Caused by: java.io.IOException: Referenced file does not exist: sc-bundles\plugin-msofficecomm.jar
    at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:842)
    at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:549)
    at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:148)
    at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:251)
    at org.apache.felix.framework.Felix.installBundle(Felix.java:2541)

我只有一部分例外。它说缺少一些参考文件。我已经运行了应用程序并开始对其进行更改。

任何帮助表示赞赏。

4

1 回答 1

1

我在使用 netbeans IDE 时遇到了类似的问题。将“sc-bundle”目录添加到源路径。这应该解决捆绑问题

于 2013-08-22T21:08:01.410 回答