在netbeans 7.1.2中构建项目时出现什么问题? [英] issue when building the project in netbeans 7.1.2?

查看:247
本文介绍了在netbeans 7.1.2中构建项目时出现什么问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在netbeans 7.1.2中有一个项目,在尝试构建项目时遇到以下问题

I have a project in netbeans 7.1.2 and i get the following problem while i try to build the project

D:\netbeans_workspace\Servlets-DWR\nbproject\build-impl.xml:479: The libs.CopyLibs.classpath property is not set up.
This property must point to 
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at 
<netbeans_installation>/java<version>/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
 ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
BUILD FAILED (total time: 0 seconds)

推荐答案

您可以按照以下步骤解决问题:

You can resolve the issue by following these steps:

  1. 在NetBeans中,选择工具">选项">其他">"Ant"
  2. 在属性"部分中,添加以下属性:

libs.CopyLibs.classpath =/java/ant/extra/org-netbeans-modules-java-j2seproject-copylibstask.jar

确保将您替换为报告错误的netbeans实例的路径.例如C:/Program Files/NetBeans 6.9.1

这篇关于在netbeans 7.1.2中构建项目时出现什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆