ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 88 - AD0-E103 discussion

Report
Export

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 oupload.txt’.
Answers
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 oupload.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.
Answers
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.
Answers
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.
Answers
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.
Answers
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.
Suggested answer: A, E
asked 02/10/2024
Farshin Golpad
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first