Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

JSOUP is not getting resolved

Avatar

Level 2

 

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Community Advisor

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

SantoshSai_0-1663869447915.png

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

Avatar

Correct answer by
Community Advisor

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