incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hellozengsong@gmail" <hellozengs...@gmail.com>
Subject cloudstack开发环境部署
Date Tue, 12 Mar 2013 06:52:00 GMT
各位好,我在部署数据库时 ant deploydb
说找不到cloud.com.test.DatabaseConfig
出错信息如下:
     [exec] CP is ./;${env.CATALINA_HOME}/conf;/usr/share/java/mysql-connector-j
ava.jar;${env.CATALINA_HOME}/webapps/client/WEB-INF/lib/*.jar;${env.CATALINA_HOM
E}/lib/*.jar
     [exec] java.lang.NoClassDefFoundError: com/cloud/test/DatabaseConfig
     [exec] Caused by: java.lang.ClassNotFoundException: com.cloud.test.Database
Config
     [exec]     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     [exec]     at java.security.AccessController.doPrivileged(Native Method)
     [exec]     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     [exec]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
     [exec] Could not find the main class: com.cloud.test.DatabaseConfig.  Progr
am will exit.
     [exec] Exception in thread "main"
而我E:\apachecs4\${env.CATALINA_HOME}\webapps\client\WEB-INF\lib 里面有DatabaseConfig这个类,还请大家指点?



hellozengsong@gmail
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message