SAP Knowledge Base Article - Preview

3451405 - Problem with the ZIP archive when updating SOLR to version 9 in the local environment

Symptom

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental

During building the application on the local environment, the error occurs during expanding the files from the downloaded Solr 9 archive installed on Maven to the environment directory:

Expanding: /path/to/maven/repository/org/apache/solr/9.2.1/solr-9.2.1.zip into /path/to/local/hybris/bin/modules/search-and-navigation/solrserver/resources/solr/9.2
Error while expanding /path/to/maven/repository/org/apache/solr/9.2.1/solr-9.2.1.zip :
java.util.zip.ZipException: archive is not a ZIP archive.
     at org.apache.tools.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:789)
     at org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:725)
     at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:461)
     at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:217)

...




Read more...

Environment

SAP Commerce 2205, SAP Commerce Cloud 2205, SAP Commerce Cloud 2211

Product

SAP Commerce 2205 ; SAP Commerce Cloud 2205 ; SAP Commerce Cloud 2211

Keywords

ZIP, archive, ZIP archive, solr 9, local environment, local, hybris, upgrade, solr, commerce , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , 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.