adobe / aem-eclipse-developer-tools

The Eclipse plugin that brings you the full connection to the Adobe Experience Manager, with auto-sync and project creation wizard.
Apache License 2.0
35 stars 23 forks source link

Server | Publishing failed #28

Closed kanika1901kapoor closed 4 years ago

kanika1901kapoor commented 9 years ago

Used the Eclipse AEM plugin(installed from Eclipse marketplace) to create AEM multimodule project (sample-project-archetype-7). Configured a new server with port, hostname, username same as that of the running AEM instance and Server Runtime Environment as Adobe Experience Manager.

But, unable to start server and deploy bundles. Gives following error: Publishing failed Could not publish to the server. Service is null

rombert commented 9 years ago

@kanika1901kapoor - can you please attach the complete stack trace?

Also, what versions of the Sling IDE Tooling and AEM Developer tools do you have installed? Looks like you have an older edition of the Sling IDE Tooling

kanika1901kapoor commented 9 years ago

AEM Developer Tools for Eclipse 1.0.2 with CQ 5.6.1.

rombert commented 9 years ago

If you go to About Eclipse -> Installation Details do you see something similar to the below screenshot?

You should have an 'AEM Developer Tools' entry with version at least 1.0.2 and two child entries - Sling IDE Tools and Sling IDE Tools, M2e-based with version at least 1.0.4 .

aem-dev-tools-installation-details

ashlyjose commented 9 years ago

@rombert this happens when the plugin is installed from Eclipse Marketplace. When installed from marketplace, Sling IDE tools does not get installed. If you check the installation details, you will be able to see only AEM Developer Tools with no child nodes.

@kanika1901kapoor as a solution/workaround, you can install the plugin directly from http://eclipse.adobe.com/aem/dev-tools/ (please refer the steps in http://docs.adobe.com/docs/en/dev-tools/aem-eclipse.html). This will install the Sling IDE tools as well and there will be no error ! If the installation fails, please restart your eclipse and try again. It will succeed in the second time.

rombert commented 9 years ago

@ashlyjose - thanks for the information and workaround! If that is the case, this is fixed by #23 .

@kanika1901kapoor - can you confirm that the workaround works?

saulovenancio commented 9 years ago

Thanks for input. Was not clear to me in the AEM Dev tools if needed to install Sling IDE. Maybe that should be added. Thanks.

ghost commented 9 years ago

@All, I am getting below error when trying to start my AEM server An internal error occurred during: "Starting Adobe Experience Manager at localhost". java.lang.ClassNotFoundException: org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory

Any help is really appreciated.

rombert commented 9 years ago

@rajeevy69 - what version of the AEM developer tools for Eclipse and of the Sling IDE tooling do you use? See https://github.com/Adobe-Marketing-Cloud/aem-eclipse-developer-tools/issues/28#issuecomment-69569606 for exactly what is needed

gabrielwalt commented 4 years ago

Closing this as there hasn't been activity since over a year.