-- 作者:quzx
-- 发布时间:7/17/2008 11:58:00 AM
-- 请教Pellet编译问题
我下载了 Pellet 1.5.2 ,导入 Eclipse 3.3 中编译成功. 然后建立了一个用户库,将Pellet lib下的文件都包含进来了, 然后再创建自己的控制台程序, 运行OK. 但是建立自己的RCP程序,还是引用 那个用户库, 总是出错 好像第1句OWLOntologyManager manager = WLManager.createOWLOntologyManager(); 都有问题. 请问这是什么原因?那位朋友知道,能否讲一声?谢谢. 报错部分信息: !ENTRY org.eclipse.osgi 4 0 2008-07-16 23:21:37.843 !MESSAGE Error installing bundle: reference:file:../myeclipse/eclipse/plugins/javax.servlet_2.4.0.v200706111738.jar/ !STACK 0 org.osgi.framework.BundleException: Bundle "javax.servlet" version "2.4.0.v200706111738" has already been installed from: initial@reference:file:plugins/javax.servlet_2.4.0.v200706111738.jar/ at org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:642) at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:909) at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:824) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:875) at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:819) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:229) at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:1064) at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:621) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:303) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
|