RabbitMQ 5.6 and above conflict with AEM 6.5.21 version jar packages | Community
Skip to main content
Level 2
December 4, 2024
Solved

RabbitMQ 5.6 and above conflict with AEM 6.5.21 version jar packages

  • December 4, 2024
  • 2 replies
  • 1545 views

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

 


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

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Tethich

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


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

 

 

2 replies

Tethich
Community Advisor
Community Advisor
December 4, 2024

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:

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

 

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.

 

guodonghaAuthor
Level 2
December 5, 2024

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

 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

 

Tethich
Community Advisor
Community Advisor
December 11, 2024

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


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:

 

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:

 

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-using-opencsv-unable-to-start-bundle/m-p/364750

kautuk_sahni
Community Manager
Community Manager
December 16, 2024

@guodongha Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni