JSOUP is not getting resolved | Community
Skip to main content
Level 2
Sep 22, 2022 10:10 AM UTC
Solved

JSOUP is not getting resolved

 

I am getting the below error because of that, OSGi bundle is not starting.

 

org.jsoup,version=[1.13,2) -- Cannot be resolved
org.jsoup.nodes,version=[1.13,2) -- Cannot be resolved
org.jsoup.select,version=[1.13,2) -- Cannot be resolved

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Sep 23, 2022 7:44 AM UTC

You check below sample pom to understand how to deploy external bundle to AEM

https://github.com/arunpatidar02/aemaacs-aemlab/blob/932349cb9fb5f201c53107317e0eeb5c33651e2a/all/po... 

Arun Patidar

3 replies

SantoshSai
New Participant
Sep 22, 2022 5:58 PM UTC

Hi @hello299 ,

You have to embed jsoup library in your project using dependency in parent pom.xml

<dependency>
    <groupId>org.jsoup</groupId>
    <artifactId>jsoup</artifactId>
    <version>1.15.1</version>
</dependency>

core pom.xml

<dependency>
    <groupId>org.jsoup</groupId>
    <artifactId>jsoup</artifactId>
</dependency>

Note: Following the above steps and deploying project you will face issue as below

in that case make sure to add jsoup jar to AEM: for more details please check here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-jar-does-not-install...

Hope that helps you!

Regards,

Santosh

Translate
Santosh Sai
arunpatidar
arunpatidarAccepted solution
New Participant
Sep 23, 2022 7:44 AM UTC

You check below sample pom to understand how to deploy external bundle to AEM

https://github.com/arunpatidar02/aemaacs-aemlab/blob/932349cb9fb5f201c53107317e0eeb5c33651e2a/all/po... 

Translate
Arun Patidar
Jagadeesh_Prakash
New Participant
Sep 22, 2022 1:34 PM UTC