Eclipse 无法启动,因为`reload maven 项目遇到了 ap?r?o?b?l?e?m`

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/31080665/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 22:43:22  来源:igfitidea点击:

Eclipse won't launch because `reload maven project has encountered a p?r?o?b?l?e?m`

linuxeclipsemavencentosm2eclipse

提问by CodeMed

When I try to start Eclipse Luna in CentOS 7, I get the following dialog box:

当我尝试在 CentOS 7 中启动 Eclipse Luna 时,出现以下对话框:

How can I resolve this and get eclipse to start?

我该如何解决这个问题并启动 eclipse?

采纳答案by Adam Hasík

I removed .metada from workspace and reimported the maven projects as quick and dirty solution. You loose your Eclipse settings, you can try to play with metadata.

我从工作区中删除了 .metada 并重新导入了 Maven 项目作为快速和肮脏的解决方案。您丢失了 Eclipse 设置,您可以尝试使用元数据。

回答by Amanpreet Kaur

Instead of deleting the whole .metadata folder, just delete the file .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi" You need to make sure to quit eclipse first, then remove this file and start eclipse again.

而不是删除整个 .metadata 文件夹,只需删除文件 .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi” 您需要确保先退出 eclipse,然后删除此文件并再次启动 eclipse。

Error will be gone.

错误将消失。

回答by kejn

For me it was enough just to remove the whole <persistedState />tag in

对我来说,删除整个<persistedState />标签就足够了

<workspace folder>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi