Pages in AEM getting blank after adding Akamai .edgegrid dependency

Avatar

Avatar

Suraj_Kamdi

MVP

Avatar

Suraj_Kamdi

MVP

Suraj_Kamdi
MVP

28-11-2019

After Adding com.akamai.edgegrid dependency into pom.xml pages in AEM showing blank.

I have added following akamai dependency into pom.xml

<dependency>

  <groupId>com.akamai.edgegrid</groupId>
  <artifactId>edgegrid-signer-apache-http-client</artifactId>
  <version>4.0.0</version>
</dependency>

As this belongs non-OSGi dependencies so I have imported following java package into pom.xml

<Export-Package>
   com.akamai.edgegrid.signer.*

</Export-Package>

has anyone faced the same issue?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Hemant_arora

Avatar

Hemant_arora

Hemant_arora

28-11-2019

you need t export you project bundle package too

<Export-Package>

com.aem.yourproject.*,com.akamai.edgegrid.*

</Export-Package>

Answers (5)

Answers (5)

Avatar

Avatar

Suraj_Kamdi

MVP

Avatar

Suraj_Kamdi

MVP

Suraj_Kamdi
MVP

28-11-2019

Problem Solved Thanks to Hemant arora

Avatar

Avatar

Suraj_Kamdi

MVP

Avatar

Suraj_Kamdi

MVP

Suraj_Kamdi
MVP

28-11-2019

it is same as

<Export-Package>

com.akamai.edgegrid.*

</Export-Package>

Avatar

Avatar

Hemant_arora

Avatar

Hemant_arora

Hemant_arora

28-11-2019

It should be

<Export-Package>

com.akamai.edgegrid.*

</Export-Package>

also export your project bundle package e.g.

<Export-Package>

com.aem.abc.*,com.aem.xyz.*,com.akamai.edgegrid.*

</Export-Package>

Avatar

Avatar

Suraj_Kamdi

MVP

Avatar

Suraj_Kamdi

MVP

Suraj_Kamdi
MVP

28-11-2019

After importing the package bundle is in an active state but Pages in AEM getting blank.

Avatar

Avatar

Ankur_Khare

MVP

Avatar

Ankur_Khare

MVP

Ankur_Khare
MVP

28-11-2019

Check in the bundles how many bundles are in resolved state and what is missing in those bundles.