【发布时间】:2017-11-27 21:54:44
【问题描述】:
早上好,我提出问题的原因是关于一个错误,它告诉我 netabens javaee-endorsed-api-7.0 not found 我正在尝试查找有关如何解决的信息,但我发现信息是6.0 但它对我有用 有人可以告诉我如何解决这个问题或提供信息,您可以在哪里找到信息 我正在使用 java web jee 7 创建一个 Web 项目,neatbens 的版本是 8.2
我正在做一个应用程序网络项目
< target name = "-init-taskdefs" >
<
fail unless = "libs.CopyLibs.classpath" >
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 &
lt;
netbeans_installation & gt;
/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 <
/fail> <
taskdef classpath = "${libs.CopyLibs.classpath}"
resource = "org/netbeans/modules/java/j2seproject/copylibstask/antlib.xml" / >
<
/target>
错误
ant -f "G:\Mis Documentos\NetBeansProjects\WebServiceSicb" -Dnb.internal.action.name=build -DforceRedeploy=false "-Dbrowser.context=G:\Mis Documentos\NetBeansProjects\WebServiceSicb" dist G:\Mis Documentos\NetBeansProjects\WebServiceSicb\nbproject\build-impl.xml:797:未设置 libs.CopyLibs.classpath 属性。 该属性必须指向 org-netbeans-modules-java-j2seproject-copylibstask.jar 文件,它是一部分 NetBeans IDE 安装,通常位于 /java/ant/额外文件夹。 在 IDE 中打开项目并确保 CopyLibs 库 存在或手动设置属性。例如像这样: ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar 构建失败(总时间:0 秒)
块引用
【问题讨论】:
标签: java netbeans-8