Twitter 4j dependency error | Community
Skip to main content
Balu_M
Level 3
March 28, 2017
Solved

Twitter 4j dependency error

  • March 28, 2017
  • 3 replies
  • 2168 views

Hi Team,

OSGI bundle shows below error if i add twitter4j dependency and deployed to AEM.

Anyone getting same error and resolved it.

Added code : 

<dependency>
            <groupId>org.twitter4j</groupId>
            <artifactId>twitter4j-core</artifactId>
            <version>4.0.6</version>
        </dependency>

twitter4j -- Cannot be resolved
twitter4j.auth -- Cannot be resolved
twitter4j.conf -- Cannot be resolved

 

Thanks,

Bala.

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 Prince_Shivhare

Hi,

Please try using this if you get your resolution.

http://blogs.adobe.com/livecycle/2011/11/integrating-twitter4j-and-cqwem.html

put the twitter4j packages in the <Export-Package> element of the “maven-bundle-plugin”.

you will get to know the example also from this link.

~ Prince

3 replies

Prince_Shivhare
Community Advisor
Prince_ShivhareCommunity AdvisorAccepted solution
Community Advisor
March 28, 2017

Hi,

Please try using this if you get your resolution.

http://blogs.adobe.com/livecycle/2011/11/integrating-twitter4j-and-cqwem.html

put the twitter4j packages in the <Export-Package> element of the “maven-bundle-plugin”.

you will get to know the example also from this link.

~ Prince

Balu_M
Balu_MAuthor
Level 3
March 28, 2017

Thanks for your help Prince Shivhare.

Level 2
July 28, 2021

The link provided here as solution is expired can you please post some solution.