Not able to connect to AEM from project created by using Eclipse Plugin | Community
Skip to main content
GK-007
Level 9
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

GK-007
GK-007Author
Level 9
October 16, 2015

Please see the error screen shot

Lokesh_Shivalingaiah
Level 10
October 16, 2015

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

GK-007
GK-007Author
Level 9
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

Lokesh_Shivalingaiah
Level 10
October 16, 2015

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

GK-007
GK-007Author
Level 9
October 16, 2015

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.

TarunSharma
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