Replication AgentFilter not found

Avatar

Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile

Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
Level 3

09-11-2017

Hi All,

I'm trying to replicate page programatically to the particular replication agent as mentioned [1].

[1]:CQ5.3: How to activate to a specific replication agent

When I build the bundle, bundle is in Active state, but I see below error in the log. Please advise if we need add any dependency for this issue.

ERROR:

(java.lang.NoClassDefFoundError: com/day/cq/replication/AgentFilter)

java.lang.NoClassDefFoundError: com/day/cq/replication/AgentFilter

        at java.lang.Class.getDeclaredMethods0(Native Method)

        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

        at java.lang.Class.getDeclaredMethod(Class.java:2128)

        at org.apache.felix.scr.impl.inject.BaseMethod.getMethod(BaseMethod.java:318)

View Entire Topic

Avatar

Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile

Avatar
Give Back 5
Level 3
sivaprasadreddy
Level 3

Likes

9 likes

Total Posts

92 posts

Correct reply

7 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
sivaprasadreddy
Level 3

09-11-2017

Thank you very much for your prompt response.

I've added below UBER 6.3 jar  dependency in pom.xml

<dependency>

<groupId>com.adobe.aem</groupId>

<artifactId>uber-jar</artifactId>

<version>6.3.0</version>

<classifier>apis</classifier>

<scope>provided</scope>

</dependency>

Please advise if i need to add any other dependency to use com.day.cq.replication.* classes..

I've tried by adding below dependency but it didn't worked.

<dependency>

<groupId>com.adobe.granite</groupId>

<artifactId>com.adobe.granite.replication.core</artifactId>

<version>5.12.10</version>

<scope>provided</scope>

</dependency>