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
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Try to lookup online resources on how to include third party dependencies:
https://myaemlearnings.blogspot.com/2021/08/embedding-third-party-dependencyosgi.html
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-use-third-party-api...
https://experienceleague.adobe.com/en/docs/experience-manager-learn/forms/creating-your-first-osgi-b...
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/including-third-party-bund...
You can always manually covert RabbitMQ jar into a bundle and install it into AEM via the system console. But I guess this is not desirable long term solution. But it can be a temporary solution just to unlock you and be able to move forward with your implementation tasks:
https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-17475
https://medium.com/@manumathew28.94/aem-convert-a-jar-to-an-osgi-bundle-742a51a90327
https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-17475
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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-usin...
Views
Replies
Total Likes
Can you specify the version? Greater than 5.18.0 . Also check if rabbit cannot be resolved in the project bundle.
Views
Replies
Total Likes
I already shared which version I used. It is 5.23.0.
Ad for bundle, it says nothing about not being resolved:
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies