java - 在 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
解决方案
请检查您的互联网连接是代理连接还是直接连接。如果您通过代理连接,那么
转到 Eclipse 窗口 > 首选项 > 网络连接并在那里设置代理条目,例如您的 IP 地址、端口、本地主机...
希望能帮助到你......
推荐阅读
- python - 如何在 post_save 中发送电子邮件而不要求用户等待表单提交?
- python - 是否可以调用 Python 中另一个函数内部定义的函数?
- php - 身份验证凭据无效。使用谷歌课堂 api 时获取请求时预期的 OAuth 2 访问令牌
- r - 当变量的长度不相等时,基数 R 中的分组和反转条形图
- javascript - ajax成功功能不起作用
- pygame - pygame pacman 我想知道代码的含义
- telegram - 如何获取我加入的所有电报组的列表?
- firebase - 使用多个提供者的 Firebase 身份验证
- mongodb - 避免在mongodb spring boot中重复文档条目
- java - Spring thymeleaf 中的 data-th-text 和 th:text 有什么区别