Not able to connect to AEM from project created by using Eclipse Plugin | Community
Skip to main content
GK-007
New Participant
October 16, 2015
Solved

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

  • October 16, 2015
  • 16 replies
  • 7304 views

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.
Best answer by Satya_adobe

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

TarunSharma
New Participant
November 17, 2017

I faced the same issue in Eclipse Oxygen 4.7.1.

When I created the project for the first time, AEM plugin actually created the project on the file system but it gave the error

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

I went to the workspace and i can see the project structure created there. Since the project creation was successful, Eclipse was not able to create the project with the same name. I found the error details in Eclipse log file located at <<Eclipse-Workspace>>/.metadata/.plugins/org.eclipse.ui.workbench/log.

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

!STACK 0

org.apache.maven.archetype.exception.ProjectDirectoryExists: A Maven 2 project already exists in the directory

Lokesh_Shivalingaiah
New Participant
October 16, 2015

is your local AEM instance up and running when you are trying to connect it with Eclipse ?

Also, please check the logs in AEM and see the error if any

GK-007
GK-007Author
New Participant
October 16, 2015

bsloki wrote...

is your local AEM instance up and running when you are trying to connect it with Eclipse ?

Also, please check the logs in AEM and see the error if any

 


It's up and running.I could able to access the instance from browser.

Lokesh_Shivalingaiah
New Participant
October 16, 2015

Can you share your server configuration ?

GK-007
GK-007Author
New Participant
October 16, 2015

bsloki wrote...

Can you share your server configuration ?

 


Where can i get this information in ecipse??

New Participant
October 16, 2015

Did you create project using maven provided archetype??

If not please share the POM.xml file.

GK-007
GK-007Author
New Participant
October 16, 2015

Please error message below and parent pom.xml

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

GK-007
GK-007Author
New Participant
October 16, 2015

Please see the error screen shot

Lokesh_Shivalingaiah
New Participant
October 16, 2015

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

GK-007
GK-007Author
New Participant
October 16, 2015

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