Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Twitter 4j dependency error

Balu_M
Level 3
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
Prince_Shivhare
Correct answer by
Community Advisor
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
Prince_Shivhare
Correct answer by
Community Advisor
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

Balu_M
Level 3
Level 3

Thanks for your help Prince Shivhare.

saurabhsingh1
Level 1
Level 1

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