Skip to main content
Level 3
Apr 14, 2025 11:16 AM UTC

com.akamai.edgegrid.signer,version=[4.0,5) -- Cannot be resolved

Hi adobe community team,
I am encountering the following error when trying to use akmai to logoc in current project:
com.akamai.edgegrid.signer,version=[4.0,5) -- Cannot be resolved
com.akamai.edgegrid.signer.apachehttpclient,version=[4.0,5) -- Cannot be resolved

here the core pom.xml changes
<dependency>
<groupId>com.akamai.edgegrid</groupId>
<artifactId>edgegrid-signer-apache-http-client</artifactId>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>com.akamai.edgegrid</groupId>
<artifactId>edgegrid-signer-core</artifactId>
<version>4.0.1</version>
</dependency>


please provides you comment on the issue and provide your thoughts?

 

#

3 replies

sarav_prakash
Community Advisor
Community Advisor
Apr 14, 2025 11:32 AM UTC

Hi @sai1278 

 

Make sure to add under <export-package> part of the POM. So

  1. Add maven dependency <dependency> <groupId>com.akamai.edgegrid</groupId> <artifactId>edgegrid-signer-core</artifactId> <version>6.0.2</version> </dependency>​
  2. Embed dependency and import package <Embed-Transitive>true</Embed-Transitive> <Embed-Dependency>com.akamai.edgegrid;scope=compile|runtime</Embed-Dependency> <Import-Package>com.akamai.edgegrid.signer.*,javax.inject*;version=0.0.0,*;</Import-Package>​
  3. Export the packages <Export-Package>com.akamai.edgegrid.signer.*, org.codehaus.stax2.*</Export-Package>​

Now the exact packages might differ. To do more reading how this works refer to documentation:

https://felix.apache.org/documentation/subprojects/apache-felix-maven-bundle-plugin-bnd.html

https://techinnovia.com/package-import-and-export/

 

I too ran into a different issue which I documented in my article - https://medium.com/@bsaravanaprakash/how-to-fix-bundle-is-importing-packages-xxx-in-start-level-20-but-no-bundle-is-exporting-these-e41d35e6763a

Translate
Sai1278Author
Level 3
Apr 15, 2025 10:18 AM UTC

Hi @sarav_prakash 

I followed the suggestions you provided earlier but unfortunately. I’m still encountering the same error.

Has anyone made any recent custom Akamai changes in your project?
For your reference, I'm using AEM version 6.5 with SP21.

Would appreciate any further insights or assistance.

Thanks,
Sai


 

Translate
kautuk_sahni
Level 9
Jun 26, 2025 1:26 PM UTC

@sai1278 Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!

Translate
Kautuk Sahni