首页 > 解决方案 > 在 Eclipse 中为 Alfresco 创建 Maven 项目时出现错误

问题描述

构建过程中发生错误。在项目“share”上运行构建器“Maven Project Builder”时出错。无法计算构建计划:插件 org.apache.maven.plugins:maven-dependency-plugin:2.10 或其依赖项之一无法解析:未能传输 org.apache.maven.plugins:maven-dependency-plugin:jar :2.10 来自http://oss.sonatype.org/content/groups/public被缓存在本地存储库中,直到 sonatype-public 的更新间隔过去或强制更新后才会重新尝试解析。原始错误:无法将工件 org.apache.maven.plugins:maven-dependency-plugin:jar:2.10 从/到 sonatype-public ( http://oss.sonatype.org/content/groups/public ): oss. sonatype.org

标签: javaeclipsemaven

解决方案


请检查您的互联网连接是代理连接还是直接连接。如果您通过代理连接,那么

转到 Eclipse 窗口 > 首选项 > 网络连接并在那里设置代理条目,例如您的 IP 地址、端口、本地主机...

希望能帮助到你......


推荐阅读