Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant Task : ClassNotFoundError

 
ranua agarwal
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Consider the classpath the "run" task is using.
 
ranua agarwal
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David for the response.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic