Eclipse 代码推荐器错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/38268139/
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
Eclipse Code Recommenders Error
提问by Maxi
"Code Recommenders Instalation Error" org.eclipse.recommenders.mylyn.rcp
“代码推荐器安装错误”org.eclipse.recommenders.mylyn.rcp
I'm using Mars and gettin this error everyday when i try to use "Ctrl + Space". In only appears once in a day(the first time in the day that i want to use code recommenders).
我正在使用 Mars 并且每天尝试使用“Ctrl + Space”时都会出现此错误。In 一天只出现一次(我想使用代码推荐器的第一次)。
Eclipse gives me the magical solution to "restart Eclipse", but it doesn't do anything.
Eclipse 为我提供了“重新启动 Eclipse”的神奇解决方案,但它没有做任何事情。
I tried to reinstall the eclipse plugin, without success.
我尝试重新安装eclipse插件,但没有成功。
Thanks to all for your possible help!
感谢所有可能的帮助!
回答by Johannes Dorn
This error occurs if Code Recommenders cannot resolve its bundle that integrates with Mylyn.
如果 Code Recommenders 无法解析其与 Mylyn 集成的包,则会发生此错误。
The most likely cause is that you somehow installed Code Recommender's Mylyn completion but don't have (a compatible version of) Mylyn installed.
最可能的原因是您以某种方式安装了 Code Recommender 的 Mylyn 完成,但没有安装(兼容版本)Mylyn。
Do the following to remove the non-functional bundle:
执行以下操作以删除非功能性捆绑包:
Go to Help > About Eclipse > Installation Details
.
In the Installed Software dialog, select the Code Recommenders Mylyn Integration
entry, press Uninstall...
and follow the instructions.
去Help > About Eclipse > Installation Details
。在已安装的软件对话框中,选择Code Recommenders Mylyn Integration
条目,按Uninstall...
并按照说明进行操作。
回答by u9048626
into eclipse folder,search for "org.eclipse.recommenders.mylyn.rcp".
Find 2 files "org.eclipse.recommenders.mylyn.rcp.feature_2.3.0.v20160216-1255" and"org.eclipse.recommenders.mylyn.rcp_2.3.0.v20160216-1255.jar".
Cut to another folder .
Del "eclipse\configuration\org.eclipse.update"
Restart eclipse.
Copy the 2 files back to the original folder . Try again .
进入eclipse文件夹,搜索“org.eclipse.recommenders.mylyn.rcp”。
找到 2 个文件“org.eclipse.recommenders.mylyn.rcp.feature_2.3.0.v20160216-1255”和“org.eclipse.recommenders.mylyn.rcp_2.3.0.v20160216-1255.jar”。
剪切到另一个文件夹。
删除“eclipse\configuration\org.eclipse.update”
重启日食。
将 2 个文件复制回原始文件夹。再试一次 。
回答by Halis Y?lbo?a
Clean eclipse cache by edit the eclipse.ini
file located in your Eclipse install directory and insert -clean as the first line.
通过编辑eclipse.ini
位于 Eclipse 安装目录中的文件并插入 -clean 作为第一行来清理 Eclipse 缓存。
Or you can do this by making -clean
key word as an argument.
或者您可以通过将-clean
关键字作为参数来做到这一点。
Don't forget to restore it. that would disable the useful OSGi caching and increase eclipse startup time so make eclipse start in normal mode.
不要忘记恢复它。这将禁用有用的 OSGi 缓存并增加 eclipse 启动时间,因此使 eclipse 以正常模式启动。