本文主要是介绍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] 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一份覆盖到本地,成功编译通过
查看良久,发现是libvirt0.4.9.jar下载失败
从另一个源中copy一份覆盖到本地,成功编译通过
这篇关于Could not transfer artifact org.libvirt:libvirt:jar:0.4.9 from/to libvirt-org的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!