maven can';在netbeans 7.4中为j2ee ejb项目创建编译阶段
我正在使用ejb、jpa和jsf项目的web应用程序类型。在db中对连接到和行创建的测试操作进行编码时,出现以下错误:maven can';在netbeans 7.4中为j2ee ejb项目创建编译阶段,maven,jpa,netbeans,ejb,Maven,Jpa,Netbeans,Ejb,我正在使用ejb、jpa和jsf项目的web应用程序类型。在db中对连接到和行创建的测试操作进行编码时,出现以下错误: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project DE: Fatal error compiling: java.lang.RuntimeException: Exception [EclipseLink-2
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project DE: Fatal error compiling: java.lang.RuntimeException: Exception [EclipseLink-25008] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: A descriptor with default root element {http://xmlns.jcp.org/xml/ns/persistence}persistence was not found in the project
-> [Help 1]
当我试图手动访问终端中的C:\User{Name}.m2 dir时,我得到一条消息:“没有这样的文件或目录”
请告诉我这个错误的解决方法
可能是因为项目配置不正确?我正在main方法中完成connect和insert操作(仅出于tets原因)。当我试图手动设置maven configuration.xml文件时,我在@existance上遇到了上面提到的错误),因此问题就暴露出来了,如何在NB7.4中正确配置jee7 jpa、ejb、jsf(richFaces)web应用程序项目