Twitter 4j dependency error | Community
Skip to main content
Balu_M
Level 3
Mar 28, 2017 11:02 AM UTC
Solved

Twitter 4j dependency error

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.
Prince_Shivhare
Prince_ShivhareAccepted solution
New Participant
Mar 28, 2017 11:43 AM UTC

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

Level 2
Jul 28, 2021 11:46 AM UTC

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

Translate
Balu_M
Balu_MAuthor
Level 3
Mar 28, 2017 12:12 PM UTC

Thanks for your help Prince Shivhare.

Translate
Prince_Shivhare
Prince_ShivhareAccepted solution
New Participant
Mar 28, 2017 11:43 AM UTC

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

Translate