cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 汤文武 <tang...@126.com>
Subject 回复: 回复:关于Eclipse构建CloudStack4.4.2失败的问题
Date Fri, 23 Jan 2015 09:00:34 GMT
users-cn,你好:
把你的环境信息和构建文档,,发给我看看,我对比一下,你加我的QQ吧:346913892

From: wangyuyang1985@163.com
Date: 2015-01-23 16:40
To: users-cn
Subject: 回复: 回复:关于Eclipse构建CloudStack4.4.2失败的问题
我现在问题都解决了,Maven那些错误也都没有了,正常运行。



wangyuyang1985@163.com

发件人: 李强
发送时间: 2015-01-23 15:05
收件人: users-cn
主题: 回复:答复: 回复:关于Eclipse构建CloudStack4.4.2失败的问题
对 的确是要用jdk 1.7的  另外 你 mvn install  -X  看全部错误信息。  错误信息不全。

  


------------------ 原始邮件 ------------------
  发件人: "Qian Shaohua";<qianshaohua@ctsi.com.cn>;
发送时间: 2015年1月23日(星期五) 下午2:27
收件人: "users-cn"<users-cn@cloudstack.apache.org>; 
主题: 答复: 回复:关于Eclipse构建CloudStack4.4.2失败的问题


CS4.4.2要用jdk 1.7

发件人: 汤文武 [mailto:tangwwk@126.com] 
发送时间: 2015年1月23日 11:03
收件人: users-cn
主题: 回复: 回复:关于Eclipse构建CloudStack4.4.2失败的问题


users-cn,你好:

各位好:    

我最近也基于CentOS6.3搭建 CloudStack4.4.2,但我遇到了两个问题:

  在mvn install  和 depley database时都报错了,无法继续执行,请各位构建成功
过的大侠,多指导一下,这个问题折腾了两三天的,如果谁有文档或者构建经验,请共
享一下,万分感谢。

基本环境信息:

               CentOS release 6.3 (Final) 

               CloudStack4.4.2

               java-1.6.0-openjdk-1.6.0.33.x86_64 

               apache-maven-3.1.1 

               eclipse KEPLER


1. maven Install时,报错:



[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process (default)
on project cloud-plugin-hypervisor-kvm: Execution default of goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process failed:
For artifact {null:null:null:jar}: The groupId cannot be empty. -> [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/PluginExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn <goals> -rf :cloud-plugin-hypervisor-kvm


在eclipse里的配置 为:





2.部署cloudstack的数据库时,报错:


[INFO]
------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 3.541s

[INFO] Finished at: Fri Jan 23 10:47:18 CST 2015

[INFO] Final Memory: 25M/226M

[INFO]
------------------------------------------------------------------------

[ERROR] Failed to parse plugin descriptor for
org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2
(/home/cloud/.m2/repository/org/codehaus/mojo/properties-maven-plugin/1.0-al
pha-2/properties-maven-plugin-1.0-alpha-2.jar): error in opening zip file ->
[Help 1]

org.apache.maven.plugin.PluginDescriptorParsingException: Failed to parse
plugin descriptor for org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2
(/home/cloud/.m2/repository/org/codehaus/mojo/properties-maven-plugin/1.0-al
pha-2/properties-maven-plugin-1.0-alpha-2.jar): error in opening zip file

        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPluginDesc
riptor(DefaultMavenPluginManager.java:212)

        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescript
or(DefaultMavenPluginManager.java:147)

        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor
(DefaultMavenPluginManager.java:261)

        at
org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultB
uildPluginManager.java:185)

        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
setupMojoExecution(DefaultLifecycleExecutionPlanCalculator.java:152)

        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
setupMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:139)

        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:116)

        at
org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.
calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:129)

        at
org.apache.maven.lifecycle.internal.BuilderCommon.resolveBuildPlan(BuilderCo
mmon.java:92)

        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
cycleModuleBuilder.java:81)

        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
cycleModuleBuilder.java:59)

        at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Lif
ecycleStarter.java:183)

        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarte
r.java:161)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja
va:290)

        at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

        at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
java:409)

        at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by: java.util.zip.ZipException: error in opening zip file

        at java.util.zip.ZipFile.open(Native Method)

        at java.util.zip.ZipFile.<init>(ZipFile.java:215)

        at java.util.zip.ZipFile.<init>(ZipFile.java:145)

        at java.util.jar.JarFile.<init>(JarFile.java:153)

        at java.util.jar.JarFile.<init>(JarFile.java:132)

        at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPluginDesc
riptor(DefaultMavenPluginManager.java:170)

        ... 25 more

[ERROR]

[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/PluginDescriptorParsingExce
ption

在eclipse里的配置 为:










From: yan_5386@163.com

Date: 2015-01-22 14:18

To: users-cn <mailto:users-cn@cloudstack.apache.org> 

Subject: 回复: 回复:关于Eclipse构建CloudStack4.4.2失败的问题

不会吧,我i5,没有固态硬盘,直接远程Debug很easy。而且在Eclipse Run也没有这么
慢啊,是不是你反复清空工程编译导致的编译过程太长啊




山东济南 崔


发件人: 李强

发送时间: 2015-01-22 13:54

收件人: users-cn

主题: 回复:关于Eclipse构建CloudStack4.4.2失败的问题

用安装maven插件 然后    -pl :cloud-client-ui jetty:run
-Dmaven.test.skip=true -X

  

我同事i5  固态全固态硬盘  8G 得运行一个半小时能运行起来。   一天最多能运行三
次debug   

  



------------------ 原始邮件 ------------------

  发件人: "wangyuyang1985@163.com";<wangyuyang1985@163.com>;

发送时间: 2015年1月20日(星期二) 下午5:15

收件人: "users-cn"<users-cn@cloudstack.apache.org>; 

主题: 关于Eclipse构建CloudStack4.4.2失败的问题



请问大家有没有用Eclipse构建过CloudStack,并且能运行的?

我Eclipse用的juon,安装了m2e,pydev。

操作系统用的Ubuntu12.04,

导入cloudstack的项目之后就报错,


请问大家都是怎么构建的?

   wangyuyang1985@163.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message