我在我的聊天应用程序中使用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)
我只有部分例外。它说有些参考文件丢失了。 我已经运行了应用程序并开始对其进行更改。
感谢任何帮助。
答案 0 :(得分:1)
使用netbeans IDE时遇到了类似的问题。将“sc-bundle”目录添加到源路径。应该解决捆绑问题