Skip to main content
Level 2
September 22, 2022
Beantwortet

JSOUP is not getting resolved

  • September 22, 2022
  • 3 Antworten
  • 1300 Ansichten

 

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

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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... 

3 Antworten

Jagadeesh_Prakash
Community Advisor
Community Advisor
September 22, 2022
SantoshSai
Community Advisor
Community Advisor
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
Community Advisor
Community Advisor
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