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?
#
Views
Replies
Total Likes
Hi @Sai1278
Make sure to add under <export-package> part of the POM. So
<dependency>
<groupId>com.akamai.edgegrid</groupId>
<artifactId>edgegrid-signer-core</artifactId>
<version>6.0.2</version>
</dependency>
<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>
<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-b...
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
Views
Replies
Total Likes
@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!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies