cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Commerce Spartacus Installation Error

DennisFoerster
Explorer
0 Kudos
324

Hello guys,

I've installed SAP Commerce 2105 on my windows machine. Now I also want to install Spartacus. While trying to run this command: install.bat -r cx-for-spa I get this error message:

* Where:
Build file 'C:\hybris\Commerce\installer\recipes\cx-for-spa\build.gradle' line: 585

* What went wrong:
Execution failed for task ':recipes:cx-for-spa:createStoreFrontExt'.
> external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=C:\hybris\Commerce\hybris\bin\platform" & set "ANT_HOME=C:\hybris\Commerce\hybris\bin\platform\apache-ant" & set "PATH=C:\hybris\Commerce\hybris\bin\platform\apache-ant\bin;%PATH%" & ant extgen -Dhybris.target=extgen -Dinput.template=yacceleratorstorefront -Dinput.name=yb2bacceleratorstorefront -Dinput.package=de.hybris.platform.yb2bacceleratorstorefront]

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30s
1 actionable task: 1 executed
Problem with java process - finished with non-zero exit code (1)<br>

I already tried to comment the "build.parallel=true" in the custom.properties but it didn't help.

I've installed Java 11

C:\hybris\Commerce\installer>java -version
java version "11.0.15" 2022-04-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.15+8-LTS-149)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.15+8-LTS-149, mixed mode)<br>

and I already set the path variables.

Regards,

Dennis

Accepted Solutions (0)

Answers (0)