The libs.CopyLibs.classpath property is not set up

前端 未结 6 1411
误落风尘
误落风尘 2020-12-18 07:48

I\'m using Eclipse Indigo (3.7) to build an application using ant and a build.xml file.

I am getting the following exception:



        
6条回答
  •  -上瘾入骨i
    2020-12-18 08:31

    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).

提交回复
热议问题