You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rayees Namathponnan <ra...@citrix.com> on 2014/04/02 16:03:37 UTC

API doc build failure in 4.4

Hi All,

API doc build failure in 4.4; I am getting below error, anyone noticed this issue ?


+ mvn -Pdeveloper -Dnoredist -pl :cloud-apidoc clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack apidocs 4.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-apidoc ---
[INFO] Deleting /root/jenkins/build/workspace/ASF_Repo-Marvin-Build/tools/apidoc (includes = [target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-apidoc ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-apidoc ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc ---
Exception in thread "main" java.lang.NoClassDefFoundError: com/cloud/api/doc/ApiXmlDocWriter
Caused by: java.lang.ClassNotFoundException: com.cloud.api.doc.ApiXmlDocWriter
               at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
               at java.security.AccessController.doPrivileged(Native Method)
               at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
               at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: com.cloud.api.doc.ApiXmlDocWriter. Program will exit.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.293s
[INFO] Finished at: Tue Apr 01 14:31:29 PDT 2014
[INFO] Final Memory: 35M/195M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project cloud-apidoc: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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.


Regards,
Rayees


Re: API doc build failure in 4.4

Posted by Marcus <sh...@gmail.com>.
I can say that I did not see that yesterday when I cloned and checked
out 4.4 in a fresh dev environment. I'm unfamiliar with all of the
dependencies, but this is the procedure that worked for me:

mvn -P developer,systemvm clean install
cd tools
easy_install marvin/dist/Marvin-0.1.0.tar.gz

On Wed, Apr 2, 2014 at 2:45 PM, Rayees Namathponnan
<ra...@citrix.com> wrote:
> Any help highly appreciated;  I am unable to create new marvin from 4.4 branch and automation testing blocking with 4.4 marvin.
>
> I didn't face this issue with master;  is there any change related to api doc in 4.4 ?
>
> Regards,
> Rayees
>
>
> -----Original Message-----
> From: Rayees Namathponnan [mailto:rayees.namathponnan@citrix.com]
> Sent: Wednesday, April 02, 2014 7:04 AM
> To: dev@cloudstack.apache.org
> Subject: API doc build failure in 4.4
>
> Hi All,
>
> API doc build failure in 4.4; I am getting below error, anyone noticed this issue ?
>
>
> + mvn -Pdeveloper -Dnoredist -pl :cloud-apidoc clean install
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack apidocs 4.4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-apidoc --- [INFO] Deleting /root/jenkins/build/workspace/ASF_Repo-Marvin-Build/tools/apidoc (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-apidoc --- [INFO] Starting audit...
> Audit done.
>
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-apidoc --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc --- Exception in thread "main" java.lang.NoClassDefFoundError: com/cloud/api/doc/ApiXmlDocWriter Caused by: java.lang.ClassNotFoundException: com.cloud.api.doc.ApiXmlDocWriter
>                at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>                at java.security.AccessController.doPrivileged(Native Method)
>                at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>                at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>                at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: com.cloud.api.doc.ApiXmlDocWriter. Program will exit.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 10.293s
> [INFO] Finished at: Tue Apr 01 14:31:29 PDT 2014 [INFO] Final Memory: 35M/195M [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project cloud-apidoc: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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.
>
>
> Regards,
> Rayees
>

RE: API doc build failure in 4.4

Posted by Rayees Namathponnan <ra...@citrix.com>.
Any help highly appreciated;  I am unable to create new marvin from 4.4 branch and automation testing blocking with 4.4 marvin.

I didn't face this issue with master;  is there any change related to api doc in 4.4 ?

Regards,
Rayees 


-----Original Message-----
From: Rayees Namathponnan [mailto:rayees.namathponnan@citrix.com] 
Sent: Wednesday, April 02, 2014 7:04 AM
To: dev@cloudstack.apache.org
Subject: API doc build failure in 4.4

Hi All,

API doc build failure in 4.4; I am getting below error, anyone noticed this issue ?


+ mvn -Pdeveloper -Dnoredist -pl :cloud-apidoc clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack apidocs 4.4.0-SNAPSHOT [INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-apidoc --- [INFO] Deleting /root/jenkins/build/workspace/ASF_Repo-Marvin-Build/tools/apidoc (includes = [target, dist], excludes = []) [INFO] [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-apidoc --- [INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-apidoc --- [INFO] [INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-apidoc --- Exception in thread "main" java.lang.NoClassDefFoundError: com/cloud/api/doc/ApiXmlDocWriter Caused by: java.lang.ClassNotFoundException: com.cloud.api.doc.ApiXmlDocWriter
               at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
               at java.security.AccessController.doPrivileged(Native Method)
               at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
               at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
               at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: com.cloud.api.doc.ApiXmlDocWriter. Program will exit.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.293s
[INFO] Finished at: Tue Apr 01 14:31:29 PDT 2014 [INFO] Final Memory: 35M/195M [INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile) on project cloud-apidoc: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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.


Regards,
Rayees