I\'m using Eclipse Indigo (3.7) to build an application using ant
and a build.xml
file.
I am getting the following exception:
I know the OP was asking about Eclipse, but I've run into this problem a few times using NetBeans, and the standard answer to set libs.CopyLibs.classpath property in Tools, Options, Java Properties never worked for me. Neither has the answer that includes commenting out lines in nbproject/private/private.properties, etc.
I did find that in the Project Properties dialog, under Libraries you can create a Libraries Folder and everything you specify, including the CopyLibs jar will go in there. I've done this to include all resources needed by a WAR file so the WAR wasn't dependent on server files and it worked for me.
Hope this helps someone looking for a NetBeans answer (maybe there is something similar in Eclipse).