This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant Task : ClassNotFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant Task : ClassNotFoundError" Watch "Ant Task : ClassNotFoundError" New topic
Author

Ant Task : ClassNotFoundError

ranua agarwal
Greenhorn

Joined: Mar 31, 2010
Posts: 25
Hi,

Created the following buid file--



Its creating the jar properly, but when trying to execute "ant run", giving following exception--


But this class already present in commons-configuration-1.6.jar, which is in the lib folder.
Can somebody point what m i missing here?

Thanks,
Ranu.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Consider the classpath the "run" task is using.
ranua agarwal
Greenhorn

Joined: Mar 31, 2010
Posts: 25
Thanks David for the response.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant Task : ClassNotFoundError
 
Similar Threads
ant classpath problem
Apache Ant add property file and policy file
How to excute the build.xml for the ant script
Build problem when including third party jars in classpath using ant
an ant question