未找到 javaee-endorsed-api-7.0

标签 java netbeans-8

早上好,我的问题的原因是关于一个错误,它告诉我 neatbens javaee-endorsed-api-7.0 not found 我正在尝试查找有关如何解决的信息,但我发现信息是6.0 但它对我有用 有人可以告诉我如何解决这个问题或提供信息在哪里可以找到信息 我正在使用 java web jee 7 创建一个 web 项目 neatbens 的版本是 8.2

I am working an application web project

< 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&lt;version&gt;/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: 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 /java/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)

Blockquote

最佳答案

我遇到了同样的问题。只需转到工具--> 插件--> 可用插件---> 搜索 EJB 和 Ear 并安装它。问题将消失。

关于未找到 javaee-endorsed-api-7.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47520464/

相关文章:

java - 通过 Java 扫描并打印同一文件

java - 使用 NetBeans IDE 远程部署项目

java - Java 中 if/else 的缩写形式

java - 为什么我的底部导航栏无法显示?

java - 使用 weka jar 将 csv 转换为 arff 时出错

java - 检查对象是否为矩阵

java - 绝对路径被视为相对路径

php - 如何在 NetBeans 中生成 PHP getter 和 setter?

java - Netbeans找不到JDK和JRE

php - Laravel 4 VS Netbeans CSS 得到 404