How to 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 show error stating not resolved in the OSGI console of bundle tab where your bundle shows in stop status.
  • This is a tool which 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 code base to AEM.
  • Similarly if you want know the maven dependencies use this tool to generate.
  • That's  it!

2 comments: