yytforever 2021-07-13 14:29 采纳率: 0%
浏览 28

myEclispe maven打包报错

Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single (make-assembly) on project cloudboot: Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single failed: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.6 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-assembly-plugin:jar:2.6 -> org.apache.maven.shared:maven-common-artifact-filters:jar:1.4: Failed to read artifact descriptor for org.apache.maven.shared:maven-common-artifact-filters:jar:1.4: Could not transfer artifact org.apache.maven.shared:maven-common-artifact-filters:pom:1.4 from/to alimaven (https://maven.aliyun.com/repository/central): Cannot access https://maven.aliyun.com/repository/central with type default using the available connector factories: BasicRepositoryConnectorFactory: Cannot access https://maven.aliyun.com/repository/central using the registered transporter factories: WagonTransporterFactory: java.util.NoSuchElementException
[ERROR] role: org.apache.maven.wagon.Wagon
[ERROR] roleHint: https
[ERROR] -> [Help 1]

org.apache.maven.plugins maven-assembly-plugin jar-with-dependencies com.ll.App make-assembly package single Cannot access https://maven.aliyun.com/repository/central ,不知道是啥原因 网络上面应该没啥问题,因为在pom.xml中添加依赖时,jar包可以正常下载,直接访问这个仓库地址页面也是有反应的 希望可以解惑
  • 写回答

1条回答 默认 最新

  • 关注

    NoSuchElementException应该是版本不对,或者下载jar不成功,看看maven配置是否正常。

    评论

报告相同问题?

问题事件

  • 创建了问题 7月13日

悬赏问题

  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
  • ¥30 python代码,帮调试
  • ¥15 #MATLAB仿真#车辆换道路径规划
  • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
  • ¥15 数据可视化Python
  • ¥15 要给毕业设计添加扫码登录的功能!!有偿