What are two different ways that the developer could resolve the OSGi bundle dependency error?

Posted by: Pdfprep Category: AD0-E103 Tags: , ,

The following stack trace is written in the error.log file after installing a custom application package.

What are two different ways that the developer could resolve the OSGi bundle dependency error? (Choose two.)
A . Install the jar in AEM via the curl command ‘curl -u username:password -F file=@”./com.example.customlib-3.8.jar” -F name=”Dependency” -F force=true -F install=true http://localhost:4502/crx/packmgr/service.jsp –progress-bar -o upload.txt’.
B . Go to the Dependency Finder in the System Console to find if another bundle is exporting a similar version of the classes and change the project pom.xml to match the same version.
C . Create a folder named “deploy” under @AEM_HOME/crx-quickstart/ and copy com.example.customlib-3.8.jar in there so AEM uploads it automatically.
D . Go to the project parent pom.xml file and add the dependency with scope “compile” and instruct the bundle plugin to include the dependency in runtime.
E . Upload the file com.example.customlib-3.8.jar into /apps/<project>/libs folder in CRX DE to make it available for the OSGi bundle.

Answer: A,E