Expand my Community achievements bar.

SOLVED

Error: ZIP File is not a Content Package: Missing jcr_root

Avatar

Level 3

Hi,

 

I am trying to install AEM CIF Core components and CIF Connector on Package Manager Console in AEM.

 

I am using below given versions:

Java: 8

AEM: 6.4

Magento: 2.3.5

CIF Core Components: 1.3.0

CIF Connector: 1.3.0

 

but while installing AEM CIF Core components I am getting below error msg. Please suggest how to get this resolved.

 

Heena06_0-1601450170421.png

 

Thanks,

Heena

 

1 Accepted Solution

Avatar

Correct answer by
Employee

Have you tried cloning https://github.com/adobe/commerce-cif-connector.git and running a `mvn clean install -P autoInstallPackage?

 

Answer: Seems like they have an expired AEM license which doesn't let them install the package after build.

View solution in original post

10 Replies

Avatar

Correct answer by
Employee

Have you tried cloning https://github.com/adobe/commerce-cif-connector.git and running a `mvn clean install -P autoInstallPackage?

 

Answer: Seems like they have an expired AEM license which doesn't let them install the package after build.

Avatar

Level 3
Hi, yes I tried with " mvn -PautoInstallPackage -Padobe-public clean install" as well, CIF Connector is installed but CIF Core Components is getting this error.

Avatar

Employee
have you tried it with cloning and building https://github.com/adobe/aem-core-cif-components.git ? Or is it just a package you downloaded?

Avatar

Level 3
I have download sourceCode.Zip from git for CIF core components and installing it on package manager

Avatar

Employee
Hi Heena, you must compile/package the code. So unpack the downloaded ZIP file and also run `mvn clean install -P autoInstallPackage`

Avatar

Level 3
Getting Below Error: Results: [INFO] [ERROR] Errors: [ERROR] BreadcrumbImplTest.testCategoryPage:175 NullPointer [ERROR] BreadcrumbImplTest.testCategoryPageWithoutIdentifier:266 NullPointer [ERROR] BreadcrumbImplTest.testCategorySpecificPage:199 NullPointer [ERROR] BreadcrumbImplTest.testContentPages:121 NullPointer [ERROR] BreadcrumbImplTest.testNoGraphqlClient:276 NullPointer [ERROR] BreadcrumbImplTest.testProductNotFound:291 NullPointer [ERROR] BreadcrumbImplTest.testProductPage:134 NullPointer [ERROR] BreadcrumbImplTest.testProductPageWithCatalogPage:221 NullPointer [ERROR] BreadcrumbImplTest.testProductPageWithSku:242 NullPointer [ERROR] BreadcrumbImplTest.testProductPageWithoutIdentifier:256 NullPointer [ERROR] BreadcrumbImplTest.testProductSpecificPage:158 NullPointer [INFO] [ERROR] Tests run: 192, Failures: 0, Errors: 11, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for AEM CIF Core Components Reactor 1.3.0: [INFO] [INFO] AEM CIF Core Components - Parent ................... SUCCESS [ 2.813 s] [INFO] AEM CIF Core Components - Content Package for React Components SUCCESS [02:17 min] [INFO] AEM CIF Core Components - Content Package for apps . SUCCESS [01:39 min] [INFO] AEM CIF Core Components - Core Bundle .............. FAILURE [ 40.971 s] [INFO] AEM CIF Core Components - Examples Bundle .......... SKIPPED [INFO] AEM CIF Core Components - Examples Application Package SKIPPED [INFO] AEM CIF Core Components - Examples Content Package . SKIPPED [INFO] AEM CIF Core Components - Examples All Package ..... SKIPPED [INFO] AEM CIF Core Components - Examples Reactor ......... SKIPPED [INFO] AEM CIF Core Components - All ...................... SKIPPED [INFO] AEM CIF Core Components - Integration Tests ........ SKIPPED [INFO] AEM CIF Core Components Reactor .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:46 min [INFO] Finished at: 2020-09-30T13:54:41+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project core-cif-components-core: There are test failures. [ERROR] [ERROR] Please refer to C:\Adobe Experience Manager (AEM)\aem-core-cif-components-core-cif-components-reactor-1.3.0\bundles\core\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :core-cif-components-core C:\Adobe Experience Manager (AEM)\aem-core-cif-components-core-cif-components-reactor-1.3.0>mvn clean install -P autoInstallPackage

Avatar

Level 3
Errors: [ERROR] BreadcrumbImplTest.testCategoryPage:175 NullPointer [ERROR] BreadcrumbImplTest.testCategoryPageWithoutIdentifier:266 NullPointer [ERROR] BreadcrumbImplTest.testCategorySpecificPage:199 NullPointer [ERROR] BreadcrumbImplTest.testContentPages:121 NullPointer [ERROR] BreadcrumbImplTest.testNoGraphqlClient:276 NullPointer [ERROR] BreadcrumbImplTest.testProductNotFound:291 NullPointer [ERROR] BreadcrumbImplTest.testProductPage:134 NullPointer [ERROR] BreadcrumbImplTest.testProductPageWithCatalogPage:221 NullPointer [ERROR] BreadcrumbImplTest.testProductPageWithSku:242 NullPointer [ERROR] BreadcrumbImplTest.testProductPageWithoutIdentifier:256 NullPointer [ERROR] BreadcrumbImplTest.testProductSpecificPage:158 NullPointer [INFO] [ERROR] Tests run: 192, Failures: 0, Errors: 11, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for AEM CIF Core Components Reactor 1.3.0: [INFO] [INFO] AEM CIF Core Components - Parent ................... SUCCESS [ 2.813 s] [INFO] AEM CIF Core Components - Content Package for React Components SUCCESS [02:17 min] [INFO] AEM CIF Core Components - Content Package for apps . SUCCESS [01:39 min] [INFO] AEM CIF Core Components - Core Bundle .............. FAILURE [ 40.971 s] [INFO] AEM CIF Core Components - Examples Bundle .......... SKIPPED [INFO] AEM CIF Core Components - Examples Application Package SKIPPED [INFO] AEM CIF Core Components - Examples Content Package . SKIPPED [INFO] AEM CIF Core Components - Examples All Package ..... SKIPPED [INFO] AEM CIF Core Components - Examples Reactor ......... SKIPPED [INFO] AEM CIF Core Components - All ...................... SKIPPED [INFO] AEM CIF Core Components - Integration Tests ........ SKIPPED [INFO] AEM CIF Core Components Reactor .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:46 min [INFO] Finished at: 2020-09-30T13:54:41+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project core-cif-components-core: There are test failures. [ERROR] [ERROR] Please refer to C:\Adobe Experience Manager (AEM)\aem-core-cif-components-core-cif-components-reactor-1.3.0\bundles\core\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :core-cif-components-core C:\Adobe Experience Manager (AEM)\aem-core-cif-components-core-cif-components-reactor-1.3.0>mvn clean install -P autoInstallPackage

Avatar

Community Advisor

HI @Heena06 ,

 

Is this resolved, if not can you try copying the downloaded CIF components code into your local project and try build. 

 

Regards,

Santosh

Avatar

Employee
Seems like they have an expired AEM license which doesn't let them install the package after build.