I have generated my AEM project by aem maven archetype. I am getting following issue in our project's core bundle in OSGI console on adobe cloud.
I have added following dependency in our core project pom. But still this issue is occurring.
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.13.0</version>
</dependency>
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Requesting you to please verify following:
commons-lang3 is a frequently used dependency. You might need to declare it explicitly in pom commons-lang3, rather it might already be available via aem-sdk dependency
You may check if this helps https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/org-apache-commons-lang3-c...
Thanks
Requesting you to please verify following:
commons-lang3 is a frequently used dependency. You might need to declare it explicitly in pom commons-lang3, rather it might already be available via aem-sdk dependency
Thank you, I downgraded my uber jar version to match with on adobe cloud environment and it resolved this issue.
Also change the dependency scope to provided
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.13.0</version>
<scope>provided</scope>
</dependency>
Also always use same dependency as per run time.
Go to http://localhost:4502/system/console/depfinder and check the installed version of commons-lang3 and add the same version in your POM