You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by yu...@sina.cn on 2013/07/31 05:09:11 UTC

关于cloudstack无法编译问题

 

 

 大家好:
      今天我使用https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux为指导手册在ubuntu上编译cloudstack,但是一直报错,报错的日志是以下内容:


[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process (default) on project cloud-client-ui: Error resolving project artifact: Could not transfer artifact org.libvirt:libvirt:pom:0.4.9 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom. Return code is: 503 for project org.libvirt:libvirt:jar:0.4.9 -> [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.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-client-ui






      其中已确认/root/.m2/repository/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom已经下载完成。


请大家帮忙看看这个是什么原因?

答复: 关于cloudstack无法编译问题

Posted by 刘彬 <bi...@sjcloud.cn>.
关于编译最好是使用自己构建的私有服务器,能够对包进行管理,直接使用中央仓库,
不是太好!之前我也这样干,发现不好,另外你是linux 还是cywin?
 

 

 大家好:
      今天我使用
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack
+Development+Environment+on+Linux为指导手册在ubuntu上编译cloudstack,但是一
直报错,报错的日志是以下内容:


[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process (default)
on project cloud-client-ui: Error resolving project artifact: Could not
transfer artifact org.libvirt:libvirt:pom:0.4.9 from/to central
(http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.
maven.apache.org/maven2/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom. Return
code is: 503 for project org.libvirt:libvirt:jar:0.4.9 -> [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :cloud-client-ui






      其中已确认
/root/.m2/repository/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom已经下载完
成。


请大家帮忙看看这个是什么原因?


回复: 回复: 关于cloudstack无法编译问题

Posted by lgstar888 <lg...@163.com>.
你好,
有这好东西共享到群里啊!




lgstar888

发件人: cloudstackfqa2013
发送时间: 2013-08-01 09:01
收件人: users-cn
主题: 回复: 关于cloudstack无法编译问题
您好:

       给你个建议,编译环境需要的各位软件包,最好不要使用linux 的yum install 等来下载,直接到相应软件官网,下载相应软件包,直接手动配置。
这样这个问题就不会存在了。我就是这么做的。你出来的问题,就是下载的软件包有版本不对的问题。
      我这有很详细的,《cloudstack开发环境设置-centos篇.docx》的文档,你需要留下EMAILL。你可以参考这个文档来进行。






cloudstackfqa2013

发件人: yunyi_wang@sina.cn
发送时间: 2013-07-31 11:09
收件人: users-cn
主题: 关于cloudstack无法编译问题




 大家好:
      今天我使用https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux为指导手册在ubuntu上编译cloudstack,但是一直报错,报错的日志是以下内容:


[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process (default) on project cloud-client-ui: Error resolving project artifact: Could not transfer artifact org.libvirt:libvirt:pom:0.4.9 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom. Return code is: 503 for project org.libvirt:libvirt:jar:0.4.9 -> [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.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-client-ui






      其中已确认/root/.m2/repository/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom已经下载完成。


请大家帮忙看看这个是什么原因?

回复: 关于cloudstack无法编译问题

Posted by cloudstackfqa2013 <cl...@163.com>.
您好:

       给你个建议,编译环境需要的各位软件包,最好不要使用linux 的yum install 等来下载,直接到相应软件官网,下载相应软件包,直接手动配置。
这样这个问题就不会存在了。我就是这么做的。你出来的问题,就是下载的软件包有版本不对的问题。
      我这有很详细的,《cloudstack开发环境设置-centos篇.docx》的文档,你需要留下EMAILL。你可以参考这个文档来进行。






cloudstackfqa2013

发件人: yunyi_wang@sina.cn
发送时间: 2013-07-31 11:09
收件人: users-cn
主题: 关于cloudstack无法编译问题




 大家好:
      今天我使用https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux为指导手册在ubuntu上编译cloudstack,但是一直报错,报错的日志是以下内容:


[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process (default) on project cloud-client-ui: Error resolving project artifact: Could not transfer artifact org.libvirt:libvirt:pom:0.4.9 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom. Return code is: 503 for project org.libvirt:libvirt:jar:0.4.9 -> [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.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cloud-client-ui






      其中已确认/root/.m2/repository/org/libvirt/libvirt/0.4.9/libvirt-0.4.9.pom已经下载完成。


请大家帮忙看看这个是什么原因?