on 06-01-2021 10:26 AM
I am with a local installation of Sap Commerce Cloud 2011 with Spartacus following the steps of https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2011/ When i execute the sentence: install.bat -r cx-for-spa
BUILD FAILED D:\CX\SCC\hybris\bin\platform\build.xml:9: The following error occurred while executing this line: D:\CX\SCC\hybris\bin\platform\resources\ant\antmacros.xml:89: The following error occurred while executing this line: D:\CX\SCC\hybris\bin\platform\resources\ant\mavenTasks.xml:440: Java returned: 1
Total time: 3 seconds
Task :recipes:cx-for-spa:createStoreFrontExt FAILED
FAILURE: Build failed with an exception.
external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=D:\CX\SCC\hybris\bin\platform" & set "ANT_HOME=D:\CX\SCC\hybris\bin\platform\apache-ant" & set "PATH=D:\CX\SCC\hybris\bin\platform\apache-ant\bin;%PATH%" & ant createConfig -Dinput.template=develop]
I have executed those steps( sets and ant ) and repeat the install setence..but this error always appears.
Any help is welcome .. thank you very much in advance
@Manuel Rodriguez:
Hi Manuel,
Greetings.
I was looking for answers and bumped into this thread. have you already resolved the issue that you have mentioned above in the thread? If yes, how did you manage to resolve this?
I am trying to install SAP Commerce Cloud 2205 in my system.
Java version : 17.0.8
I am facing the same issue and looking for answers.
Error log below:
> Task :recipes:cx:createStoreFrontExt FAILED
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\sap spartacus commerce\installer\recipes\cx\build.gradle' line: 581
* What went wrong:
Execution failed for task ':recipes:cx:createStoreFrontExt'.
> external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx2g -Dfile.encoding=UTF-8 -Dpolyglot.js.nashorn-compat=true -Dpolyglot.engine.WarnInterpreterOnly=false --add-exports java.xml/com.sun.org.apache.xpath.internal=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xpath.internal.objects=ALL-UNNAMED" & set "PLATFORM_HOME=C:\sap spartacus commerce\hybris\bin\platform" & set "ANT_HOME=C:\sap spartacus commerce\hybris\bin\platform\apache-ant" & set "PATH=C:\sap spartacus commerce\hybris\bin\platform\apache-ant\bin;%PATH%" & ant createConfig -Dinput.template=develop]
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have run into a similar issue. The error is misleading . So re run the command with debug parameter "install.bat -r cx-for-spa --debug" and you can see the actual error.
If the error says unable to find spartacussampledata extension , it is happening due to name mismatch between localextensions.xml and extensioninfo.xml
Fix : Keep the extension name as 'spartacussampledata' in
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.