April 22, 2020
Estimated Post Reading Time ~

How to find Maven dependencies of package/classes in AEM through Felix console

Statement - Find the Maven dependencies
Environment - AEM 6.3 GA

Solution:
  • Go to the Felix console URL: http://localhost:4502/system/console/depfinder
  • Enter the class or package name which shows an error stating not resolved in the OSGI console of bundle tab where your bundle shows in stop status.
  • This is a tool that provides the maven dependencies to be added in the POM.XML file based on the key in of class/package name.
  • in this example org.apache.sling.commons.scheduler has dependency issue follow the below steps to generate maven dependencies.
  • Click on FIND to find out the Maven dependencies.

  • add above Maven dependencies to pom.xml file and rebuild the project and deploy the codebase to AEM.
  • Similarly, if you won't know the maven dependencies use this tool to generate.
That's it!


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.