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 03:03:15 GMT
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-alpha-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-alpha-2/properties-maven-plugin-1.0-alpha-2.jar):
error in opening zip file
        at org.apache.maven.plugin.internal.DefaultMavenPluginManager.extractPluginDescriptor(DefaultMavenPluginManager.java:212)
        at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:147)
        at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:261)
        at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.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(BuilderCommon.java:92)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.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.java: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.extractPluginDescriptor(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/PluginDescriptorParsingException

在eclipse里的配置 为:




 



From: yan_5386@163.com
Date: 2015-01-22 14:18
To: users-cn
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/related (inline, None, 0 bytes)
View raw message