日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 运维知识 > linux >内容正文

linux

linux eclipse报错日志,centos6.8命令行启动eclipse报org.eclipse.swt.SWTError错误

發(fā)布時(shí)間:2024/4/11 linux 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux eclipse报错日志,centos6.8命令行启动eclipse报org.eclipse.swt.SWTError错误 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

系統(tǒng)版本:centos6.8

JDK 版本:jdk1.8.0_111

eclipse版本:eclipse neon.1

問題描述:

【1】在xwindow界面可以正常啟動(dòng)eclipse

【2】在命令行界面用./eclipse命令啟動(dòng)eclipse的時(shí)候界面提示錯(cuò)誤信息如下:

Eclipse:Can not open display

Eclipse:

GTK+ Version Check

Eclipse:Can not open display:

org.eclipse.m2e.logback.configuration:the org.eclipse.m2e.logback.configuration bundle was activited before the state location was initialized. will retry after the state location is initialized.

Eclipse:

An error has occured .see the log file

/home/setup/eclipse/configuration/1478687****.log

【3】上述步驟中日志文件打開如下:

!SESSION 2016-11-09 02:32:15.379 -----------------------------------------------

eclipse.buildId=4.6.1.M20160907-1200

java.version=1.8.0_111

java.vendor=Oracle Corporation

BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US

Framework arguments:? -product org.eclipse.epp.package.jee.product

Command-line arguments:? -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.osgi 4 0 2016-11-09 02:32:38.774

!MESSAGE Application error

!STACK 1

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]

at org.eclipse.swt.SWT.error(SWT.java:4559)

at org.eclipse.swt.widgets.Display.createDisplay(Display.java:958)

at org.eclipse.swt.widgets.Display.create(Display.java:942)

at org.eclipse.swt.graphics.Device.(Device.java:174)

at org.eclipse.swt.widgets.Display.(Display.java:562)

at org.eclipse.swt.widgets.Display.(Display.java:553)

at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:789)

at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:160)

at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:168)

at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:111)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)

at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

【4】已使用方法

(1)

找到目錄 eclipse/workspace/.metadata/.plugins/org.eclipse.ui.workbench 下面的 workbench.xml文件,刪除在XML節(jié)點(diǎn)

對(duì)應(yīng)的目錄沒有該xml文件,刪除org.eclipse.ui.workbench文件重啟eclipse也沒有發(fā)現(xiàn)該文件重建

總結(jié)

以上是生活随笔為你收集整理的linux eclipse报错日志,centos6.8命令行启动eclipse报org.eclipse.swt.SWTError错误的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。