Java maven部署中的字节码中存在错误

Java maven部署中的字节码中存在错误,java,maven,aem,Java,Maven,Aem,我想在aem中部署我当前的项目。为此,我使用命令 mvn clean install -PautoInstallPackage 但是在使用这个命令之后,我不断地得到以下错误 hraj2@dluhraj263398 MINGW64 /d/Latest <REMOVED> (features/feature-phone) $ mvn clean install -PautoInstallPackage [INFO] Scanning for projects... [INFO]

我想在aem中部署我当前的项目。为此,我使用命令

    mvn clean install -PautoInstallPackage
但是在使用这个命令之后,我不断地得到以下错误

hraj2@dluhraj263398 MINGW64 /d/Latest <REMOVED> (features/feature-phone)
$ mvn clean install -PautoInstallPackage
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Platform AEM-Core
[INFO] <REMOVED> AEM Platform Foundation - Commerce
[INFO] <REMOVED> AEM Platform Foundation - Core
[INFO] <REMOVED> AEM Platform Foundation - UI apps
[INFO] <REMOVED> AEM Platform Foundation - UI apps
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Platform AEM-Core 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ parent ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ parent ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ parent ---
[INFO] Installing D:\Latest <REMOVED>\pom.xml to C:\Users\hraj2\.m2\repository\com\<REMOVED>\d2\aem\foundation\parent\0.0.1-SNAPSHOT\parent-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building <REMOVED> AEM Platform Foundation - Commerce 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ commerce ---
[INFO] Deleting D:\Latest <REMOVED>\commerce\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-maven) @ commerce ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ commerce ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\Latest <REMOVED>\commerce\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ commerce ---
[INFO] Compiling 22 source files to D:\Latest <REMOVED>\commerce\target\classes
[INFO]
[INFO] --- maven-scr-plugin:1.17.0:scr (generate-scr-scrdescriptor) @ commerce ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Platform AEM-Core .................................. SUCCESS [  0.302 s]
[INFO] <REMOVED> AEM Platform Foundation - Commerce ........ FAILURE [  1.607 s]
[INFO] <REMOVED> AEM Platform Foundation - Core ............ SKIPPED
[INFO] <REMOVED> AEM Platform Foundation - UI apps ......... SKIPPED
[INFO] <REMOVED> AEM Platform Foundation - UI apps ......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.905 s
[INFO] Finished at: 2016-01-04T14:40:31+05:30
[INFO] Final Memory: 25M/208M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.17.0:scr (generate-scr-scrdescriptor) on project commerce: Execution generate-scr-scrdescriptor of goal org.apache.felix:maven-scr-plugin:1.17.0:scr failed: An API incompatibility was encountered while executing org.apache.felix:maven-scr-plugin:1.17.0:scr: java.lang.VerifyError: Constructor must call super() or this() before return
[ERROR] Exception Details:
[ERROR] Location:
[ERROR] com/adobe/cq/commerce/common/AbstractJcrCommerceServiceFactory.<init>()V @1: return
[ERROR] Reason:
[ERROR] Error exists in the bytecode
[ERROR] Bytecode:
[ERROR] 0x0000000: 2ab1
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.apache.felix:maven-scr-plugin:1.17.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/hraj2/.m2/repository/org/apache/felix/maven-scr-plugin/1.17.0/maven-scr-plugin-1.17.0.jar
[ERROR] urls[1] = file:/C:/Users/hraj2/.m2/repository/org/slf4j/slf4j-simple/1.5.11/slf4j-simple-1.5.11.jar
[ERROR] urls[2] = file:/C:/Users/hraj2/.m2/repository/org/slf4j/slf4j-api/1.5.11/slf4j-api-1.5.11.jar
[ERROR] urls[3] = file:/C:/Users/hraj2/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
[ERROR] urls[4] = file:/C:/Users/hraj2/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[5] = file:/C:/Users/hraj2/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
[ERROR] urls[6] = file:/C:/Users/hraj2/.m2/repository/org/apache/felix/org.apache.felix.scr.generator/1.10.0/org.apache.felix.scr.generator-1.10.0.jar
[ERROR] urls[7] = file:/C:/Users/hraj2/.m2/repository/org/ow2/asm/asm-all/5.0.2/asm-all-5.0.2.jar
[ERROR] urls[8] = file:/C:/Users/hraj2/.m2/repository/org/osgi/org.osgi.core/4.2.0/org.osgi.core-4.2.0.jar
[ERROR] urls[9] = file:/C:/Users/hraj2/.m2/repository/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar
[ERROR] urls[10] = file:/C:/Users/hraj2/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] urls[11] = file:/C:/Users/hraj2/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>com.<REMOVED>.d2.aem.foundation:core:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :commerce

hraj2@dluhraj263398 MINGW64 /d/Latest <REMOVED> (features/feature-phone)
$
hraj2@dluhraj263398MINGW64/d/最新版本(功能/功能手机)
$mvn清洁安装-PautoInstall软件包
[信息]正在扫描项目。。。
[信息]------------------------------------------------------------------------
[信息]反应堆建造顺序:
[信息]
[信息]平台AEM核心
AEM平台基础商务
AEM平台基础-核心
AEM平台基础-用户界面应用程序
AEM平台基础-用户界面应用程序
[信息]
[信息]------------------------------------------------------------------------
[信息]构建平台AEM Core 0.0.1-SNAPSHOT
[信息]------------------------------------------------------------------------
[信息]
[信息]---maven clean插件:2.5:clean(默认清洁)@parent---
[信息]
[信息]---maven enforcer插件:1.0.1:enforce(enforce maven)@parent---
[信息]
[信息]---maven安装插件:2.3.1:安装(默认安装)@parent---
[信息]正在将D:\Latest\pom.xml安装到C:\Users\hraj2\.m2\repository\com\\d2\aem\foundation\parent\0.0.1-SNAPSHOT\parent-0.0.1-SNAPSHOT.pom
[信息]
[信息]------------------------------------------------------------------------
[信息]建筑AEM平台基础-商务0.0.1快照
[信息]------------------------------------------------------------------------
[信息]
[信息]---maven clean插件:2.5:clean(默认清洁)@commerce---
[信息]正在删除D:\Latest\commerce\target
[信息]
[信息]---maven enforcer插件:1.0.1:enforce(enforce maven)@commerce---
[信息]
[信息]---maven资源插件:2.5:resources(默认资源)@commerce---
[调试]执行上下文化
[信息]使用“UTF-8”编码复制筛选的资源。
[信息]跳过不存在的资源目录D:\Latest\commerce\src\main\resources
[信息]
[信息]---maven编译器插件:2.0.2:compile(默认编译)@commerce---
[信息]正在将22个源文件编译为D:\Latest\commerce\target\classes
[信息]
[信息]---maven scr插件:1.17.0:scr(生成scr-scrdescriptor)@commerce---
[信息]------------------------------------------------------------------------
[信息]反应堆概要:
[信息]
[信息]平台AEM核心。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。成功[0.302秒]
[信息] AEM平台基金会-商业……故障[1.607秒]
AEM平台基础-核心……跳过
[信息] AEM平台基金会-用户界面应用程序…跳过
[信息] AEM平台基金会-用户界面应用程序…跳过
[信息]------------------------------------------------------------------------
[信息]生成失败
[信息]------------------------------------------------------------------------
[信息]总时间:2.905秒
[信息]完成时间:2016-01-04T14:40:31+05:30
[信息]最终内存:25M/208M
[信息]------------------------------------------------------------------------
[错误]无法执行goal org.apache.felix:maven scr插件:1.17.0:scr(生成scr scrdescriptor)在project commerce:Execution中生成目标org.apache.felix:maven scr plugin:1.17.0:scr失败:执行org.apache.felix:maven scr plugin:1.17.0:scr:java.lang.VerifyError:构造函数必须在返回前调用super()或this()
[错误]异常详细信息:
[错误]位置:
[错误]com/adobe/cq/commerce/common/abstractjcrcommerceseservicefactory.()V@1:return
[错误]原因:
[错误]字节码中存在错误
[错误]字节码:
[错误]0x0000000:2ab1
[错误]
[错误]-----------------------------------------------------
[错误]realm=plugin>org.apache.felix:maven-scr-plugin:1.17.0
[错误]strategy=org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[错误]URL[0]=文件:/C:/Users/hraj2/.m2/repository/org/apache/felix/maven-scr-plugin/1.17.0/maven-scr-plugin-1.17.0.jar
[错误]URL[1]=文件:/C:/Users/hraj2/.m2/repository/org/slf4j/slf4j simple/1.5.11/slf4j-simple-1.5.11.jar
[错误]URL[2]=文件:/C:/Users/hraj2/.m2/repository/org/slf4j/slf4j-api/1.5.11/slf4j-api-1.5.11.jar
[错误]URL[3]=文件:/C:/Users/hraj2/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
[错误]URL[4]=文件:/C:/Users/hraj2/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[错误]URL[5]=文件:/C:/Users/hraj2/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
[错误]URL[6]=文件:/C:/Users/hraj2/.m2/repository/org/apache/felix/org.apache.felix.scr.generator/1.10.0/org.apache.felix.scr.generator-1.10.0.jar
[错误]URL[7]=文件:/C:/Users/hraj2/.m2/repository/org/ow2/asm/asm-all/5.0.2/asm-all-5.0.2.jar
[错误]URL[8]=文件:/C:/Users/hraj2/.m2/repository/org/osgi/org.osgi.core/4.2.0/org.osgi.core-4.2.0.jar
[错误]URL[9]=文件:/C:/Users/hraj2/.m2/repository/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar
[错误]URL[10]=文件:/C:/Users/hraj2/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[错误]URL[11]=文件:/C:/Users/hraj2/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar
[错误]国外进口数量:1
[错误]导入:条目[从领域ClassRealm[project>com..d2.aem.foundation导入:核心:0.0.1-SNAPSHOT,父:ClassRealm[maven.api,父:null]]
[错误]
[错误]-----------------------------------------------------
[错误]->[帮助1]
[错误]
[错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
[错误]使用-X开关重新运行Maven以启用完整调试日志记录。
[错误]
[错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:
[错误][帮助1]http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[错误]
[错误]纠正问题后,可以使用命令恢复生成
[错误]mvn-射频:商业