更新Eclipse IDE for Java Developers时的错误(Luna 4.4.2)

时间:2016-03-14 15:10:45

标签: eclipse repository updates eclipse-luna

在更新Eclipse IDE for Java Developers时,我遇到以下错误,版本:Luna Service Release 2(4.4.2):

protected override void WndProc(ref Message m) {
        switch (m.Msg) {
            case NativeMethods.WM_REFLECT + NativeMethods.WM_COMMAND:
                if (NativeMethods.Util.HIWORD(m.WParam) == NativeMethods.BN_CLICKED) {
                    Debug.Assert(!GetStyle(ControlStyles.UserPaint), "Shouldn't get BN_CLICKED when UserPaint");
                    if (!ValidationCancelled) {
                        OnClick(EventArgs.Empty);
                    }                        
                }
                break;
            case NativeMethods.WM_ERASEBKGND:
                DefWndProc(ref m);
                break;
            default:
                base.WndProc(ref m);
                break;
        }
    }

正在更新的组件(均具有版本3.7.3.2016022509xx-RELEASE):

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,javax.mail.glassfish,1.4.1.v201005082020
No repository found containing: osgi.bundle,org.aspectj.runtime.source,1.7.0.20120507134200
No repository found containing: osgi.bundle,org.eclipse.contribution.weaving.jdt.source,2.2.0.e36x-20120507-1400
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.weaving.source,2.2.0.e36x-20120507-1400
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.core.source,2.2.0.e36x-20120507-1400
No repository found containing: org.eclipse.update.feature,org.eclipse.contribution.xref.source,2.2.0.e36x-20120507-1400
No repository found containing: osgi.bundle,org.eclipse.contribution.xref.ui.source,2.2.0.e36x-20120507-1400

我猜测上面的版本3.7.3与刚刚发布的相同版本的Spring Tool Suite一致(https://spring.io/blog/2016/03/01/spring-tool-suite-3-7-3-released)也许Eclipse还没有相应地更新它的存储库?

有关如何解决此问题的任何建议吗?

<小时/> 2016年3月23日更新:

我能够通过更改AJDT的更新站点来部分解决此问题。从Eclipse的主菜单中,选择Window |偏好|安装/更新|可用的软件站点。找到名为“AJDT”的条目,选择它,单击编辑并将位置更改为:

Eclipse Quicksearch
Pivotal tc Server Integration for Eclipse
Pivotal tc Server Spring Insight Integration for Eclipse
Spring Dashboard
Spring IDE AJDT Integration
Spring IDE AOP Extension
Spring IDE Autowire Extension
Spring IDE Batch Extension
Spring IDE Core
Spring IDE Integration, Flex and Web Services Extension
Spring IDE Maven Support
Spring IDE Mylyn Integration
Spring IDE Security Extension
Spring IDE Spring Data Support
Spring IDE Web Flow Extension

根据https://www.eclipse.org/ajdt/downloads/的文档,这是Eclipse Luna 4.4的AJDT更新的正确位置。

现在只剩下一个错误:

http://download.eclipse.org/tools/ajdt/44/dev/update

通过添加带有此链接的Orbit更新站点解决了这个问题:

No repository found containing: osgi.bundle,javax.mail.glassfish,1.4.1.v201005082020

请注意,上述R20140525021250版本标有Luna和Luna SR1。 Luna SR2(R20150124073747)的构建产生了另一个错误:

http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/

所以,如果您使用Luna SR2,请避免使用它,除非您想要追踪具有该组件的存储库的更新站点。

0 个答案:

没有答案