Skip to main content
Level 3
Feb 3, 2018 5:44 PM UTC
Solved

Unable to validate node types since project ... is not associated with a server or the server is not started.

I am getting this error which is described in one of the AEM tutorials

Getting Started with AEM Sites Part 2 - Creating a Base Page and Template

Unfortunately, the suggested fix does not work:

  • First issue is, Eclipse does not allow removing Dynamic Web Module through the UI.

  • Second issue is, if you forcibly remove it by editing /ui.apps/.settings/org.eclipse.wst.common.project.facet.core.xml, the actual problem is still not solved.

Any other ideas?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
alexr21Accepted solution
Level 3
Feb 8, 2018 5:21 PM UTC

The problem appears to be gone after the following updates are applied. The archetype has a lot of outdated references:

  • maven-sling-plugin 2.2.0 -> 2.3.4
  • htl-maven-plugin 1.0.6 -> 1.1.2
  • maven-bundle-plugin 3.3.0 -> 3.5.0
  • Do not upgrade: content-package-maven-plugin - stay on 0.5.1, because 1.0.2 causes other problems
  • Eclipse Sling IDE Tools 1.1.0 -> 1.2.0
  • Eclipse Neon.3 vs Oxygen doesn't seem to matter

16 replies

smacdonald2008
Level 10
Feb 6, 2018 2:52 PM UTC

Setup the project - as described in the Lazybone article.

Then switch to AEM Perspective. THen you can click on a location in the JCR and add a new node:

I created a new node of type nt:folder

When i run Maven from Eclipse - the node is imported into AEM,

Try to re-install the AEM DEV tool in Neon eclipse. It works.

Translate
alexr21AuthorAccepted solution
Level 3
Feb 8, 2018 5:21 PM UTC

The problem appears to be gone after the following updates are applied. The archetype has a lot of outdated references:

  • maven-sling-plugin 2.2.0 -> 2.3.4
  • htl-maven-plugin 1.0.6 -> 1.1.2
  • maven-bundle-plugin 3.3.0 -> 3.5.0
  • Do not upgrade: content-package-maven-plugin - stay on 0.5.1, because 1.0.2 causes other problems
  • Eclipse Sling IDE Tools 1.1.0 -> 1.2.0
  • Eclipse Neon.3 vs Oxygen doesn't seem to matter
Translate
smacdonald2008
Level 10
Feb 8, 2018 5:36 PM UTC

Thanks for posting this - i have asked the author of this doc to look at making possible updates based on your post.

Translate
Daniel_Gordon
Adobe Employee
Adobe Employee
Feb 9, 2018 3:42 PM UTC

alexr2​ to clarify, did updating those dependencies in WKND pom.xml fix the issue? Or were you experiencing this issue in your own project and updating those dependencies fixed it? You mention "the archetype has a lot outdated references" is that when creating a project using Lazybones or the using the Maven aem-project-archetype? Do you mind posting the relevant pom.xmls? Thanks!

Translate
alexr21Author
Level 3
Feb 9, 2018 6:51 PM UTC

hi dgordon86​, we were experiencing this issue in our own project and updating the dependencies fixed it. The project was created by a colleague using the Maven aem-project-archetype version 12.

Here's the top-level pom.xml, the version which works fine: [XML] <?xml version="1.0" encoding="UTF-8"?> <!-- | Copyright 2015 Adobe Systems I - Pastebin.com

Translate
Daniel_Gordon
Adobe Employee
Adobe Employee
Feb 13, 2018 3:14 AM UTC

Thanks alexr2​!

Translate