when I am adding a dependency of jsoup-1.12.2 in my project bundle, I dont face any issue, the project bundle is resolved and active. But Veracode security scan found a security issue in jsoup 1.12.2 version and recommended to use latest version.
When I am using jsoup-1.14.2 or any other higher version, my project bundle is not resolving. There is no compile time issue. I get the below error while resolving
javax.annotation.meta,version=[3.0,4) -- Cannot be resolved
I think this javax.annotation.meta package is getting added internally in latest jsoup (1.14.2 or higher).
Has anyone faced similar issue or know how to fix this?
Regards,
Niraj
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Niraj2 ,
With jsoup - since it's third party jar bundle, even if you have included in dependency you still have to add the jsoup Jar to AEM as well through system console eg. http://localhost:4502/system/console/bundles
Please check this: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-jar-does-not-install...
Hope that helps!
Regards,
Santosh
Please check similar query being resolved @ https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-not-getting-resolved....
Hope this helps.
Thanks
Anika
Hi @Niraj2 ,
With jsoup - since it's third party jar bundle, even if you have included in dependency you still have to add the jsoup Jar to AEM as well through system console eg. http://localhost:4502/system/console/bundles
Please check this: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jsoup-jar-does-not-install...
Hope that helps!
Regards,
Santosh
Hi Santosh,
Thanks for the suggestion. I will try this today and check. I will update after that.
Regards,
Niraj
Views
Replies
Total Likes
Views
Likes
Replies