Symptom
Build is failing with the below error. The error could be seen from Commerce Cloud OOTB or custom class.
| error: cannot find symbol 2024-06-13 07:31:28,971 INFO d.h.c.h.PrintOutputHandler [Thread-23] stdout: [yjavac] import org.apache.solr.common.StringUtils; 2024-06-13 07:31:28,971 INFO d.h.c.h.PrintOutputHandler [Thread-23] stdout: [yjavac] ^ 2024-06-13 07:31:28,971 INFO d.h.c.h.PrintOutputHandler [Thread-23] stdout: [yjavac] symbol: class StringUtils 2024-06-13 07:31:28,971 INFO d.h.c.h.PrintOutputHandler [Thread-23] stdout: [yjavac] location: package org.apache.solr.common 2024-06-13 07:31:28,972 INFO d.h.c.h.PrintOutputHandler [Thread-23] stdout: [yjavac] 1 error 2024-06-13 07:31:28,985 INFO d.h.c.h.PrintOutputHandler [Thread-24] sterr: 2024-06-13 07:31:28,985 INFO d.h.c.h.PrintOutputHandler [Thread-24] sterr: BUILD FAILED 2024-06-13 07:31:28,986 INFO d.h.c.h.PrintOutputHandler [Thread-24] sterr: /opt/workspace/build/commerce-suite/hybris/bin/platform/build.xml:13: The following error occurred while executing this line: |
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- SAP Commerce Cloud 2211.24 or above
Product
SAP Commerce Cloud 2211
Keywords
StringUtils,build,Solrj , KBA , CEC-SCC-CLA-BUI , Build Process , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview