Java “插件 org.eclipse.jdt.ui 无法加载类 org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart。” adt ( v22.6.2 ) 中的问题

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23211494/
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-08-13 21:20:58  来源:igfitidea点击:

"Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart." issue in adt ( v22.6.2)

javaandroideclipse-adt

提问by RamGrg

I am getting this error in my adt eclipse. I am using the updated version of java. Please somebody help me to solve this issue.

我在我的 adt eclipse 中收到这个错误。我正在使用 Java 的更新版本。请有人帮我解决这个问题。

采纳答案by hmojica

I found the same bug in Eclipse once.

我曾经在 Eclipse 中发现了同样的错误。

This happened to me after a Windows Update.

这是在 Windows 更新后发生在我身上的。

What I did to resolve the problem was giving (again) "Full Control"/"Admin Write Read" permissions to Eclipse Folder, in my case was in "C:\eclipse-jee-kepler-SR2-win32-x86_64". (Right Click on it, then Properties -> Security Tab and Edit there at -least your user- with Full Control)

我为解决这个问题所做的是(再次)授予 Eclipse 文件夹“完全控制”/“管理员写入读取”权限,在我的情况下是在“C:\eclipse-jee-kepler-SR2-win32-x86_64”中。(右键单击它,然后属性 -> 安全选项卡并在那里编辑 - 至少你的用户 - 完全控制)

For some reason the Windows Update changed that.

出于某种原因,Windows 更新改变了这一点。

回答by Peter Connolly

In my case, I had to switch ownership back to my ID in my workspace/.metadata folder, then all was well. I had inherited an old user ID for my login after a system update. [Ubuntu 14 --> 16]

就我而言,我必须将所有权切换回我的工作区/.metadata 文件夹中的 ID,然后一切正常。系统更新后,我为我的登录继承了旧用户 ID。[Ubuntu 14 --> 16]

回答by Siva

I got this error in eclipse photon. I started photon with older workspace. I removed .metadata and .recommenders folders and then restarted the eclipse. It worked fine.

我在日食光子中遇到了这个错误。我从旧的工作区开始光子。我删除了 .metadata 和 .recommenders 文件夹,然后重新启动了 eclipse。它工作得很好。