Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Twitter 4j dependency error

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 3

Thanks for your help Prince Shivhare.

Avatar

Level 2

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