[kepler-users] can't "ant run" in command line
袁钢
yuangang2009 at gmail.com
Wed Nov 7 05:00:35 PST 2012
Hello,
I have downloaded the code ,and my OS is winXP. I can run the project
in Eclipse successfully. But when i use the "ant run" in command line,or
use the jar which packaged through the ant instruction, the errors will
occur as follows:
============================
[run] RunClasspath:kepler-tasks
F:\Scientific_Workflow\KeplerWorkflow\Kepl
ct\kepler-tasks\src
[run] RunClasspath:ptolemy
F:\Scientific_Workflow\KeplerWorkflow\KeplerPro
olemy\src
[run] Set environment variable: PATH =
D:\Ruby187\bin;D:\WINDOWS\system32;
OWS;D:\WINDOWS\System32\Wbem;D:\Program Files\TortoiseSVN\bin;D:\Program
Files\C
iles\Thunder
Network\KanKan\Codecs;D:\Java\jdk1.6.0_25\bin;D:\Java\jdk1.6.0_25\j
F:\tool4work\apache-tomcat-6.0.29\bin;F:\tool4work\apache-ant-1.8.0\bin;F:\apach
-3.0.3-bin\apache-maven-3.0.3\bin;F:\MySql\bin;F:\tool4work\Apache-Subversion-1.
;D:\Java\jdk1.6.0_25\lib\tools.jar;D:\R\R-2.15.2\bin;F:\Scientific_Workflow\Kepl
low\KeplerProject\r\lib;F:\Scientific_Workflow\KeplerWorkflow\KeplerProject\comm
F:\Scientific_Workflow\KeplerWorkflow\KeplerProject\common\lib\ptolemy\matlab
[run] java.lang.NoClassDefFoundError: and
[run] Caused by: java.lang.ClassNotFoundException: and
[run] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[run] at java.security.AccessController.doPrivileged(Native
Method)
[run] at
java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[run] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[run] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[run] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[run] Could not find the main class: and. Program will exit.
[run] Exception in thread "main"
BUILD FAILED
F:\Scientific_Workflow\KeplerWorkflow\KeplerProject\build-area\build.xml:52:
F:\
fic_Workflow\KeplerWorkflow\KeplerProject\build-area\build.xml:52: Java
returned
What's the matter with it?Please tell me how to solve it .Thank you
very much.
------Joy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20121107/4d3e0426/attachment-0001.html>
More information about the Kepler-users
mailing list