Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

AEM publish error eclipse

Avatar

Level 1

Hello everybody,

I just started using AEM and I'm still trying to get my environment stable. I have some issues when I try to publish my project to the server. When I click on the 'clean and publish' button I get the following message: Publishing to localhost has encountered a problem. Publishing failed. When I look into the details I see the following:

~Publishing failed
Failed installing bundle : Method execution returned status 500
Method execution returned status 500
Failed installing bundle : Method execution returned status 500
Method execution returned status 500

As a workaround I used maven with the autoInstallPackage command. I also tried deleting the server in eclipse and adding a new one. Doing this fixed my issues for a few hours, but when I wanted to continue working the next day everything was back to the old state. Also re-installing the Eclipse AEM plugins didn't bring me any luck.

Thank you for your time!

3 Replies

Avatar

Level 10

The plug-in can have issues. I prefer sych'ing code with vault, See this AEM community article to learn how to use vault to sync code between AEM and Eclipse: 

https://helpx.adobe.com/experience-manager/using/creating-aem-project-using-eclipse.html

See this section Synchronize the AEM code in Eclipse.

Avatar

Level 10

As Scott mentioned, AEM plugin for eclipse have some issues in syncing as it is still new and evolving !. AEM Plugin is best used to create a AEM project and coding perspective. To install bundles, use mvn commands and to sync the content use vaultclipse.

Avatar

Administrator

Hi pascalk3047023

Please go through the link provided by Scott.

Apart from the link provided, there are few more reference link you might want ot go through :-

Link:- http://blog.nextrow.com/tag/adobe-aem-setup-with-eclipse/

//AEM setup with Eclipse (everything explained step by step)

Link:- https://docs.adobe.com/docs/en/crx/2-3/how_to/how_to_use_the_vlttool.html

 

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni