Jboss工具关于Eclipse Helios的问题
我已经为 eclipse helios 安装了 Jboss 工具。但是当我尝试获取 HTml 文件的权限时,我收到以下消息:
无法打开可视化页面编辑器: 捆 org.mozilla.xulrunner.cocoa.macosx 是 未找到。
org.jboss.tools.vpe.xulrunner.XulRunnerException: 捆 org.mozilla.xulrunner.cocoa.macosx 是 未找到。在 org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.getXulRunnerPath(XulRunnerBrowser.java:226) 在 org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser。(XulRunnerBrowser.java:104) 在 org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor。(XulRunnerEditor.java:143) 在 org.jboss.tools.vpe.editor.mozilla.XulRunnerPreview。(XulRunnerPreview.java:22) 在 org.jboss.tools.vpe.editor.mozilla.MozillaPreview.createPartControl(MozillaPreview.java:79) 在 org.jboss.tools.vpe.editor.VpeEditorPart.createPreviewBrowser(VpeEditorPart.java:923) 在 org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:238) 在 org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart$2.widgetSelected(JSPMultiPageEditorPart.java:144) 在 org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) 在 org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 在 org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) 在 org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) 在 org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743) 在 org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429) 在 org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257) 在 org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 在 org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398) 在 org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383) 在 org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195) 在 org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629) 在 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284) 在 org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) 在 org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) 在 org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) 在 org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) 在 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 在 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) 在 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 在 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 在 org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 在 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) 在 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 在 sun.reflect.NativeMethodAccessorImpl.invoke0(Native 方法)在 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 在 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 在 java.lang.reflect.Method.invoke(Method.java:597) 在 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) 在 org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) 在 org.eclipse.equinox.launcher.Main.run(Main.java:1408)
I have installed Jboss tools for eclipse helios. but when I try to get priview of a HTml file I get this message:
Could not open the Visual Page Editor:
Bundle
org.mozilla.xulrunner.cocoa.macosx is
not found.org.jboss.tools.vpe.xulrunner.XulRunnerException:
Bundle
org.mozilla.xulrunner.cocoa.macosx is
not found. at
org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.getXulRunnerPath(XulRunnerBrowser.java:226)
at
org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.(XulRunnerBrowser.java:104)
at
org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.(XulRunnerEditor.java:143)
at
org.jboss.tools.vpe.editor.mozilla.XulRunnerPreview.(XulRunnerPreview.java:22)
at
org.jboss.tools.vpe.editor.mozilla.MozillaPreview.createPartControl(MozillaPreview.java:79)
at
org.jboss.tools.vpe.editor.VpeEditorPart.createPreviewBrowser(VpeEditorPart.java:923)
at
org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:238)
at
org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart$2.widgetSelected(JSPMultiPageEditorPart.java:144)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at
org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
at
org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2743)
at
org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1429)
at
org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at
org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at
org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at
org.eclipse.equinox.launcher.Main.run(Main.java:1408)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,并通过安装 32 位版本的 Eclipse Helios 修复了该问题。
使用:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-macosx-cocoa .tar.gz
而不是:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-macosx -cocoa-x86_64.tar.gz
I had the same issue and fixed it by installing the 32 bit version of Eclipse Helios.
Use:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-macosx-cocoa.tar.gz
Instead of:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR2/eclipse-jee-helios-SR2-macosx-cocoa-x86_64.tar.gz