Eclipse AEM Error when running Site | Community
Skip to main content
VaibhavMishra
April 29, 2020

Eclipse AEM Error when running Site

  • April 29, 2020
  • 5 replies
  • 22087 views

Hi Team,

 

I am getting below error when I am trying to run AEM Multimode Project in Eclipse.  Has anyone faced same thing  ?

================================================================

 

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module C:\Users\eclipse-workspace\vaem.example\dispatcher of C:\Users\eclipse-workspace\vaem.example\pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.myorg.vaem:vaem.example:0.0.1-SNAPSHOT (C:\Users\eclipse-workspace\vaem.example\pom.xml) has 1 error
[ERROR] Child module C:\Users\eclipse-workspace\vaem.example\dispatcher of C:\Users\eclipse-workspace\vaem.example\pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Vijayalakshmi_S
April 29, 2020

HI @vaibhavmishra ,

Could you please let know the maven archetype version that you used for creating multi-module project.

VaibhavMishra
April 30, 2020
Its 23
Singaiah_Chintalapudi
April 29, 2020

Looks like you've deleted the dispatcher module but did not modify the parent pom config. Open your parent pom: C:\Users\eclipse-workspace\vaem.example\pom.xml  and search for dispatcher module and comment that out or delete.

VaibhavMishra
April 30, 2020
Hi Noksc , I am using guide from this link . https://docs.adobe.com/content/help/en/experience-manager-65/developing/devtools/aem-eclipse.html . Has anyone Used this Guide with Success ?
sunjot16
Adobe Employee
Adobe Employee
April 29, 2020
VaibhavMishra
April 30, 2020
Hi Sunjot16 ,
Theo_Pendle
April 30, 2020

Hi,

I guess you generated the project using :

mvn -B archetype:generate

Did that the command actually worked? I've had the issue before where I ran the command, did something else and then tried to run the project and got the result you did.

What I hadn't noticed was that the command had failed halfway through! So it had generated some modules and not others, resulting in a broken project that wouldn't build 😕😕

VaibhavMishra
April 30, 2020
@theo_pendle , I followed this Link as a guide. Also, I am using guide from this link . https://docs.adobe.com/content/help/en/experience-manager-65/developing/devtools/aem-eclipse.html . Has anyone Used this Guide with Success ?
Adobe Employee
May 1, 2020

It looks like either you still have the dispatcher module in the code and the corresponding POM file does not exist OR the other way around.

 

C:\Users\eclipse-workspace\vaem.example\pom.xml does not exist

 

Please validate both the module and pom file exists.