Could not transfer artifact org.libvirt:libvirt:jar:0.4.9 from/to libvirt-org

CloudStack编译源码出现以下错误

[ERROR] Failed to execute goal on project cloud-plugin-hypervisor-kvm: Could not resolve dependencies for project org.apache.cloudstack:cloud-plugin-hypervisor-kvm:jar:4.2.0: Could not transfer artifact org.libvirt:libvirt:jar:0.4.9 from/to libvirt-org (http://libvirt.org/maven2): GET request of: org/libvirt/libvirt/0.4.9/libvirt-0.4.9.jar from libvirt-org failed: Premature end of Content-Length delimited message body (expected: 70699; received: 42064 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

查看良久,发现是libvirt0.4.9.jar下载失败
从另一个源中copy一份覆盖到本地,成功编译通过

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。