【转】Eclipse的启动问题【an error has occurred see the log file】

原文网址:http://coderlin.blog.51cto.com/7386328/1275215

方法1:

今天打开Eclipse的时候出现来了一个问题,导致了Eclipse打不开

错误的提示是:

An error has occurred.See the log file

谷歌了一下,解决的办法是

删除eclipse的临时文件: eclipse/configuration 目录下的 org.eclipse.osgi org.eclipse.update 两个子目录
重新启动 eclipse

如果还是不行
将workspace中 项目做一下备份,删除workspace目录和上面两个子目录
再次启动 eclipse,再导入备份的项目即可

好了,现在问题解决了,重新 打开Eclipse开始咱们的工作吧

方法2:

通过网上查解决方法和多次试验,终于搞定了。解决步骤如下:

1、在windows命令行模式下进入eclipse目录下,我这里是:C:eclipse

2、执行eclipse.exe -clean,这时候eclipse就可以启动了,并且让选择workspace目录。

时间: 2024-10-11 00:54:30

【转】Eclipse的启动问题【an error has occurred see the log file】的相关文章

eclipse遇到启动报an error has occurred see the log file错

错误: 修改eclipse安装目录下比如D:\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs, 删除 RECENT_WORKSPACES后的内容重新打开即可

eclipse遇到启动报an error has occurred see the log file错 错误 修改了workplace工作空间

错误原因:工作空间被修改 1,修改eclipse安装目录下比如D:\eclipse\configuration\.settings\org.eclipse.ui.ide.prefs, 删除 RECENT_WORKSPACES后的内容重新打开即可 2,进入 Window > Preferences > General > Startup and Shutdown 选中 Prompt for workspace on startup. 3,删除自己本地工作空间的两个文件夹(因为一些配置文件的

eclipse启动出现“An Error has Occurred. See the log file”解决方法

最近在启动eclipse时出现了“An Error has Occurred. See the log file”的错误,点击确定后也不能启动eclipse.查看log文件,出现类似: java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPri

eclipse启动出现“An Error has Occurred. See the log fi

!SESSION 2014-08-08 11:28:47.771 ----------------------------------------------- eclipse.buildId=4.3.2.M20140221-1700 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework argum

Myeclipse启动报错:An error has occurred.See the log file

出现这个问题是因为断电前myeclipse还在运行,日志报错如下: !ENTRY org.eclipse.osgi 4 0 2017-07-24 08:29:48.485 !MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (501). !STACK 0 org.osgi.framework.BundleException: Exception in org.ecl

启动ecilpse 报错an error has occurred. see the log file

删除.metadata目录下.plugins/org.eclipse.e4.workbench即可

Andriod Studio 出现An error has occurred.See the log file错误解决

出现错误提示去查看日志文件,然后我到C:\Users\PC\AppData\Local\Android\Sdk\tools\lib\monitor-x86_64\configuration后打开日志文件发现错误信息是 java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and start

Mysql启动报错解决方案:Failed to open log (file './mysql-bin.000901', errno 2)

ps -ef|grep mysql 发现里边没有mysql进程,于是进行重启. service mysqld start报错 查看错误日志 tail -100 /usr/local/mysql/var/iZ11yohng9aZ.err(主机名.err) 180223 15:31:51 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var 180223 15:31:51 InnoDB: The Inn

Eclipse出现An error has occurred问题解决方案

今天更新了Android SDK,并把Eclipse重新切换来工作空间,再次打开Eclipse报错,出现"An error has occurred","See the log file ********/.metadata/.log".如图所示: . 解决方法这样,重新新建一个文件夹作为Workspaces,然后再重启Eclipse,要求选择工作空间的对话框中选择新建的文件夹,然后就没有报错了,能成功启动了. 版权声明:本文为博主原创文章,未经博主允许不得转载.