File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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