SAP Knowledge Base Article - Preview

2712098 - Change of the Storefront aspect causes a build to fail

Symptom

The build fails after a while with the following error :

Execution failed for task ':addTomcatLifecycleListeners'.
> assert file(contextXmlLocation).exists()
| | |
| | false
| /opt/workspace/build/installer/work/output_images/<ProjectName>/platform/aspects/<customStorefront>/tomcat/conf/context.xml
/opt/workspace/build/installer/work/output_images/<ProjectName>/platform/aspects/<customStorefront>/tomcat/conf/context.xml

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':addTomcatLifecycleListeners'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)


Read more...

Environment

 CCV2.0

Product

SAP Commerce Cloud 2.0

Keywords

Aspect, build fail, storefront , KBA , CEC-HCS-CCAZ-CZO , Customer Zone on Azure , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.