Exam AD0-E103 All QuestionsBrowse all questions from this exam
Question 87

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.)

    Correct Answer: B, D

    To resolve the OSGi bundle dependency error, the developer can take two approaches. First, they can use the Dependency Finder in the System Console to identify if another bundle is exporting a similar version of the required classes, and then adjust the project pom.xml to match the same version for compatibility. Second, they can modify the project parent pom.xml file by adding the necessary dependency with scope 'compile' and ensure that the bundle plugin includes this dependency during runtime. These steps help manage dependencies effectively, avoiding conflicts and ensuring the required packages are available.

Discussion
chunpinOptions: BD

Answer is B & D 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. 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.

pgawadeOptions: BD

Answer is B & D