Pages in AEM getting blank after adding Akamai .edgegrid dependency | Community
Skip to main content
Suraj_Kamdi
Community Advisor
Community Advisor
November 28, 2019
Solved

Pages in AEM getting blank after adding Akamai .edgegrid dependency

  • November 28, 2019
  • 6 replies
  • 5515 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hemant_arora

you need t export you project bundle package too

<Export-Package>

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

</Export-Package>

6 replies

Ankur_Khare
Community Advisor
Community Advisor
November 28, 2019

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

Suraj_Kamdi
Community Advisor
Community Advisor
November 28, 2019

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

Hemant_arora
Level 8
November 28, 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>

Suraj_Kamdi
Community Advisor
Community Advisor
November 28, 2019

it is same as

<Export-Package>

com.akamai.edgegrid.*

</Export-Package>

Hemant_arora
Hemant_aroraAccepted solution
Level 8
November 28, 2019

you need t export you project bundle package too

<Export-Package>

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

</Export-Package>

Suraj_Kamdi
Community Advisor
Community Advisor
November 28, 2019

Problem Solved Thanks to Hemant arora