Expand my Community achievements bar.

RabbitMQ 5.6 and above conflict with AEM 6.5.21 version jar packages

Avatar

Level 1

RabbitMQ 5.6 and AEM 6.5.21 versions, my project starts normally and the editing page is working properly

guodongha_4-1733290772156.png

 


I changed RabbitMQ 5.22 and AEM 6.5.21 versions, the project started normally, but the editing page was blank

guodongha_0-1733290258210.png

 

guodongha_3-1733290429597.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

7 Replies

Avatar

Level 7

Hi @guodongha 

 

Can you go in system console and check your bundles to see if all are running properly ? All dependencies should show as resolved.
Go here:

Tethich_0-1733298919282.png

And for example here is an example of a bundle of mine that has issues:

Tethich_1-1733298968645.png

 

Also try to check browser console for any errors, even if I doubt you find anything there because to me it seams a backend thing, but still, worth checking.

 

Avatar

Level 1

I have installed what you mentioned and viewed the project screenshot below

企业微信截图_17333815377224.png

 This effect should be caused by package conflicts that cannot be resolved. I have excluded the following packages, but the problem has not been resolved and I need help

 

企业微信截图_17333815776447.png

Avatar

Level 1

I think it's after the introduction of version 5.22.0, there is a compatibility issue with AEM when packaging it into a bundle, and I'd like to know exactly which version allows AEM to be packaged into a bundle properly,I tried several versions of rabbitmq, only 5.6.0 can be normal, other versions of the AEM project after compilation com.rabbitmq.client ,version are prompted cannot be resolved

Avatar

Level 7

Hi @guodongha 

 

So I have installed 6.5 on my local, more exactly 6.5.22 version. I have a project that was building properly on which I added the RabbitMQ client version 5.23.0 dependency. So this is how it looks like:

1. The project structure:

Tethich_0-1733945866579.png

 

2. In parent pom.xml I have:

            <dependency>
                <groupId>com.rabbitmq</groupId>
                <artifactId>amqp-client</artifactId>
                <version>5.23.0</version>
            </dependency>

 

3. I also added this in the parent pom.xml file, which I believe it way the key for making it work:

Tethich_1-1733946825783.png

 

4. And of course I used the dependency in the core project pom.xml file (but not sure if it was necessary):

        <dependency>
            <groupId>com.rabbitmq</groupId>
            <artifactId>amqp-client</artifactId>
        </dependency>

 

I basically followed some indications from this thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/maven-dependency-when-usin...

Avatar

Level 1

Can you specify the version? Greater than 5.18.0 . Also check if rabbit cannot be resolved in the project bundle.

Avatar

Level 7

I already shared which version I used. It is 5.23.0.
Ad for bundle, it says nothing about not being resolved:

Tethich_1-1733990763994.png