Skip to main content
GK-007
Level 9
Oct 16, 2015 2:28 AM UTC
Solved

Not able to connect to AEM from project created by using Eclipse Plugin

Hello All,

I have created a project of type "AEM Sample Multi-Module Project" using Eclipse ,project is created but i am not able to connect to my local AEM instance.

Help me in configuring AEM project and please see attached screenshot for error details.

Thanks,

Kishore

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Satya_adobeAccepted solution
Level 2
Oct 16, 2015 2:28 AM UTC

Luna 4.4.2 is fine, so now question is, did you install the AEM plugin from Eclipse market place.
If yes, then it downloads the plugin from some place where the buggy plugin is available.

Follow the below steps.

1. GO to eclipse market place, un-install AEM plugin.

2.restart eclipse

3. go to  help > install new software 
in eclipse and provide 
http://eclipse.adobe.com/aem/dev-tools/  to install aem Plugin.

4. While creating new project, provide port and server name correctly and the AEM server should be up and running.

16 replies

GK-007
GK-007Author
Level 9
Oct 16, 2015 2:28 AM UTC

i have followed above steps and now am not able to create project and getting below error.

Unable to create project from archetype [com.adobe.granite.archetypes:aem-project-archetype:10 -> https://repo.adobe.com/nexus/content/groups/public]

Even if i select artifact 7 also i am getting the same error.

What will be the issue now??

Translate
Satya_adobeAccepted solution
Level 2
Oct 16, 2015 2:28 AM UTC

Luna 4.4.2 is fine, so now question is, did you install the AEM plugin from Eclipse market place.
If yes, then it downloads the plugin from some place where the buggy plugin is available.

Follow the below steps.

1. GO to eclipse market place, un-install AEM plugin.

2.restart eclipse

3. go to  help > install new software 
in eclipse and provide 
http://eclipse.adobe.com/aem/dev-tools/  to install aem Plugin.

4. While creating new project, provide port and server name correctly and the AEM server should be up and running.

Translate
GK-007
GK-007Author
Level 9
Oct 16, 2015 2:28 AM UTC

Satya_adobe wrote...

I faced this issue in eclipse Version: Luna Service Release 1 (4.4.1)  some time back.

The issue was, I have installed the AEM multi-module plugin from eclipse market place. So I uninstalled the plugin and installed this through help > install new software from below URL.

http://eclipse.adobe.com/aem/dev-tools/ 

Try this,, may work out for you.

 

 

Currently i have installed Eclipse Luna 4.4.2 and to make it work which version i have to install

Translate
Level 2
Oct 16, 2015 2:28 AM UTC

I faced this issue in eclipse Version: Luna Service Release 1 (4.4.1)  some time back.

The issue was, I have installed the AEM multi-module plugin from eclipse market place. So I uninstalled the plugin and installed this through help > install new software from below URL.

http://eclipse.adobe.com/aem/dev-tools/ 

Try this,, may work out for you.

Translate
GK-007
GK-007Author
Level 9
Oct 16, 2015 2:28 AM UTC

bsloki wrote...

Can you try to install your code from command prompt,

goto your project folder and exec [1] and see if it installs your project in localhost

mvn clean install -PautoinstallPackage and see if it installs all your content and bundles

 

Build is succeeded for all the modules but i don't see the bundles in Felix console.

Translate
Lokesh_Shivalingaiah
Level 10
Oct 16, 2015 2:28 AM UTC

Can you try to install your code from command prompt,

goto your project folder and exec [1] and see if it installs your project in localhost

mvn clean install -PautoinstallPackage and see if it installs all your content and bundles

Translate
GK-007
GK-007Author
Level 9
Oct 16, 2015 2:28 AM UTC

bsloki wrote...

How are you trying to install it to local AEM instance ?

 

i have installed my AEM local instance by just extracting the quick start jar and then trying to configure instance and connecting to it.

Thanks,

Kishore

Translate
Lokesh_Shivalingaiah
Level 10
Oct 16, 2015 2:28 AM UTC

How are you trying to install it to local AEM instance ?

Translate
GK-007
GK-007Author
Level 9
Oct 16, 2015 2:28 AM UTC

Please see the error screen shot

Translate
GK-007
GK-007Author
Level 9
Oct 16, 2015 2:28 AM UTC

Please error message below and parent pom.xml

An internal error occurred during: "Starting Adobe Experience Manager at localhost".
Service is null

Translate