JSOUP is not getting resolved | Community
Skip to main content
New Participant
September 22, 2022
Solved

JSOUP is not getting resolved

  • September 22, 2022
  • 2 replies
  • 1253 views

 

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.
Best answer by arunpatidar

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

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

2 replies

SantoshSai
New Participant
September 22, 2022

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

Santosh Sai
arunpatidar
arunpatidarAccepted solution
New Participant
September 23, 2022

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
Jagadeesh_Prakash
New Participant
September 22, 2022