我在蚂蚁清理时出错构建失败。JAVA_HOME C:Progra~1Javajdk1.8.0_151
,hybris 版本为 commerce-6.3.0.8
BUILD FAILED
C:hybriscommerce-6.3.0.8hybrisbinplatformbuild.xml:20: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinplatformresourcesantcompiling.xml:90: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinplatformresourcesantcompiling.xml:148: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinplatformresourcesantutil.xml:20: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinplatformresourcesantcompiling.xml:155: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinplatformresourcesantcompiling.xml:297: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinplatformresourcesantutil.xml:144: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinext-contentpersonalizationsmarteditbuildcallbacks.xml:65: The following error occurred while executing this line:
C:hybriscommerce-6.3.0.8hybrisbinext-contentnpmancillarybuildcallbacks.xml:276: exec returned: 3
<!-- platformbuild.xml:20: The following error occurred while executing this line:-->
<target name="build" depends="updateMavenDependencies" description="Builds all extensions">
<callback extname="" target="before_build"/>
<build/>
<callback extname="" target="after_build"/>
</target>
<!-- antcompiling.xml:90: The following error occurred while executing this line:-->
<extensions_build/>
<!--antcompiling.xml:148: The following error occurred while executing this line:-->
<else>
<external_extension_build extname="@{extname}"/>
</else>
<!-- antutil.xml:20: The following error occurred while executing this line:-->
<for list="${extension.names}" param="@{param}" delimiter=";">
<!--antcompiling.xml:155: The following error occurred while executing this line:-->
<then>
<extension_build extname="@{extname}" />
</then>
<!-- binext-contentnpmancillarybuildcallbacks.xml:276: exec returned: 3 -->
<exec dir="@{path}" executable="${loc.NPM_BINARIES_HOME}${file.separator}.bin${file.separator}grunt.cmd" failonerror="${failonerrorValue}">
<env key="Path" value="${env.Path}${path.separator}${loc.EXTRA_PATH}"/>
<env key="NPM_HOME" value="${loc.NPM_HOME}"/>
<env key="NPM_BINARIES_HOME" value="${loc.NPM_BINARIES_HOME}"/>
<env key="NODE_HOME" value="${loc.NODE_HOME}"/>
<arg value="@{phase}"/>
</exec>
<!-- binext-contentpersonalizationsmarteditbuildcallbacks.xml:65: The following error occurred while executing this line:
<then>
<linkToSELibraries path="${ext.personalizationsmartedit.path}"/>
<gruntBuild path="${ext.personalizationsmartedit.path}" phase="packageSkipTests"/>
</then>
我在java11上使用时遇到了这个问题。我通过将操作系统的语言更改为英语来解决问题。
我希望它有效
检查您的文件权限/所有者非常重要。如果您以 root 身份安装应用程序(不推荐),则问题可能与权限集有关。尝试递归地将文件/文件夹的所有者设置为应用程序所有者(假设您设置了一个)。在我的实例中,我使用"hybris"作为用户/所有者。
chown -R hybris:users /opt/hybris