Not able to connect to AEM from project created by using Eclipse Plugin | Community
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

TarunSharma
New Participant
Nov 17, 2017 1:38 AM UTC

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

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

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

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

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.

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

Can you share your server configuration ?

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

bsloki wrote...

Can you share your server configuration ?

 


Where can i get this information in ecipse??

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

Did you create project using maven provided archetype??

If not please share the POM.xml file.

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
GK-007
GK-007Author
Level 9
Oct 16, 2015 2:28 AM UTC

Please see the error screen shot

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

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