我正在使用面向 Java EE 开发人员的 Eclipse 3.5 SR2。每次打开文件后第一次按 control+C 或 control+V 时,都会出现错误。关闭错误后,我可以成功复制和粘贴。错误信息让我相信它与Mylyn插件有关,但我卸载了它仍然没有任何区别。还有其他人遇到过这个问题吗?我还安装了 subclipse、adobe flex builder 和 maven 插件。
The 'org.eclipse.mylyn.tasks.ui.hyperlinks.detectors.url' extension from plug-in 'org.eclipse.mylyn.tasks.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector.
Plug-in org.eclipse.mylyn.tasks.ui was unable to load class org.eclipse.mylyn.internal.tasks.ui.editors.TaskUrlHyperlinkDetector.
An error occurred while automatically activating bundle org.eclipse.mylyn.tasks.ui (520).
The 'org.eclipse.mylyn.java.hyperlink.detector.stack' extension from plug-in 'org.eclipse.mylyn.java.tasks' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector.
Plug-in org.eclipse.mylyn.java.tasks was unable to load class org.eclipse.mylyn.internal.java.tasks.JavaStackTraceHyperlinkDetector.
org/eclipse/mylyn/tasks/ui/AbstractTaskHyperlinkDetector
The 'org.eclipse.mylyn.tasks.ui.hyperlinks.detectors.task' extension from plug-in 'org.eclipse.mylyn.tasks.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point failed to load the hyperlink detector.
Plug-in org.eclipse.mylyn.tasks.ui was unable to load class org.eclipse.mylyn.internal.tasks.ui.editors.TaskHyperlinkDetector.
An error occurred while automatically activating bundle org.eclipse.mylyn.tasks.ui (520).
最佳答案
This thread暗示了类似的错误并提到 bug 214301 (在Egit 2.3.0, February 2013中解决)
this looks like an inconsistent install of Mylyn causing this exception.
Could you check which versions of the Mylyn features you have installed (
Help >
About > Configuration Details
<小时/>)?
不一致的 Mylyn 安装示例:
<小时/>
- Mylyn 2.1 is installed
- The Task List (mylyn-feature) and the structure bridges (ide-feature, pde-feature etc.) are updated to 2.2
- The Focused UI (context-feature) remains at version 2.1
解决方案:
update again and ensure that you get the "Mylyn Bridge: Eclipse SDK" feature
First, try running the update again via
Help -> Software Updates -> Search
for new features
.. and ensure that all of the Mylyn features have been updated.
关于复制和粘贴时 Eclipse 抛出错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2586778/