【发布时间】:2013-02-26 15:12:17
【问题描述】:
我使用mozilla的org.eclipse.swt.browser和xulrunner来加载网页内容,但是我得到了错误:Unhandled event loop exception XPCOM error -2147467261
我的开发环境:
操作系统:win7 * 32bit
Eclipse : 3.7.2 * 32bit
SWT:32 位
xulrunner:发布 18.0
像这样的代码:
//register xulrunner path
static{
System.setProperty("org.eclipse.swt.browser.XULRunnerPath", "F:/soft/xulrunner18/xulrunner");
}
...
//create Mozilla browser
browser = new Browser(parent, SWT.MOZILLA); //error was caused here.
谁知道原因,或者告诉我如何找到原因?
非常感谢
【问题讨论】:
标签: eclipse-plugin swt mozilla xulrunner jgraph