You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Kausal Malladi <mk...@gmail.com> on 2013/02/02 19:08:34 UTC

Build ERROR while installing Management Server of CloudStack

Hi,
I am following the instructions from this link to install CloudStack.
http://incubator.apache.org/cloudstack/develop/environment.html

When I try to run the following command while installing Management
Server...

ant deploydb


I am getting the following error. Please help me.

[exec] Exception in thread "main" java.lang.NoClassDefFoundError:
com/cloud/test/DatabaseConfig
[exec] Caused by: java.lang.ClassNotFoundException:
com.cloud.test.DatabaseConfig
[exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[exec] at java.security.AccessController.doPrivileged(Native Method)
[exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[exec] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[exec] Could not find the main class: com.cloud.test.DatabaseConfig.
Program will exit.

BUILD FAILED

Thanks and Regards,

-- 
Kausal Malladi
www.kausalmalladi.tk

RE: Build ERROR while installing Management Server of CloudStack

Posted by Pranav Saxena <pr...@citrix.com>.
I think you need check if your CATALINA path is set properly  , then clean up your tomcat (ant clean tomcat)  and deploy the server and your db again .  

-----Original Message-----
From: Kausal Malladi [mailto:mkausal@gmail.com] 
Sent: Saturday, February 02, 2013 11:39 PM
To: cloudstack-dev@incubator.apache.org
Subject: Build ERROR while installing Management Server of CloudStack

Hi,
I am following the instructions from this link to install CloudStack.
http://incubator.apache.org/cloudstack/develop/environment.html

When I try to run the following command while installing Management Server...

ant deploydb


I am getting the following error. Please help me.

[exec] Exception in thread "main" java.lang.NoClassDefFoundError:
com/cloud/test/DatabaseConfig
[exec] Caused by: java.lang.ClassNotFoundException:
com.cloud.test.DatabaseConfig
[exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[exec] at java.security.AccessController.doPrivileged(Native Method) [exec] at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
[exec] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
[exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
[exec] Could not find the main class: com.cloud.test.DatabaseConfig.
Program will exit.

BUILD FAILED

Thanks and Regards,

--
Kausal Malladi
www.kausalmalladi.tk