我有错误构建失败的蚂蚁清理所有在我本地。
JAVA_HOME是C:\Progra~1\Java\jdk1.8.0_151
,hybris版本是commerce-6.3.0.8
BUILD FAILED
C:\hybris\commerce-6.3.0.8\hybris\bin\platform\build.xml:20: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\platform\resources\ant\compiling.xml:90: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\platform\resources\ant\compiling.xml:148: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\platform\resources\ant\util.xml:20: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\platform\resources\ant\compiling.xml:155: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\platform\resources\ant\compiling.xml:297: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\platform\resources\ant\util.xml:144: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\ext-content\personalizationsmartedit\buildcallbacks.xml:65: The following error occurred while executing this line:
C:\hybris\commerce-6.3.0.8\hybris\bin\ext-content\npmancillary\buildcallbacks.xml:276: exec returned: 3
<!-- \platform\build.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>
&#13;
<!-- ant\compiling.xml:90: The following error occurred while executing this line:-->
<extensions_build/>
&#13;
<!--ant\compiling.xml:148: The following error occurred while executing this line:-->
<else>
<external_extension_build extname="@{extname}"/>
</else>
&#13;
<!-- \ant\util.xml:20: The following error occurred while executing this line:-->
<for list="${extension.names}" param="@{param}" delimiter=";">
&#13;
<!--\ant\compiling.xml:155: The following error occurred while executing this line:-->
<then>
<extension_build extname="@{extname}" />
</then>
&#13;
<!-- \bin\ext-content\npmancillary\buildcallbacks.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>
&#13;
<!-- bin\ext-content\personalizationsmartedit\buildcallbacks.xml:65: The following error occurred while executing this line:
<then>
<linkToSELibraries path="${ext.personalizationsmartedit.path}"/>
<gruntBuild path="${ext.personalizationsmartedit.path}" phase="packageSkipTests"/>
</then>
&#13;
答案 0 :(得分:0)
我在 java11 上使用时遇到了这个问题。我通过将操作系统的语言更改为英语来解决问题。
我希望它有效
答案 1 :(得分:-1)
检查文件权限/所有者非常重要。如果您以root用户身份安装了应用程序(不推荐),那么问题可能在于设置了权限。尝试以递归方式将文件/文件夹的所有者设置为应用程序所有者(假设您设置了一个)。在我的例子中,我使用&#34; hybris&#34;作为用户/所有者。
chown -R hybris:users /opt/hybris