Unable to create node from eclipse. | Community
Skip to main content
akashs51893872
Level 3
Sep 8, 2017 9:12 AM UTC
Solved

Unable to create node from eclipse.

Hello,

I am trying to create a node from the Eclipse Oxygen IDE.  Am unable to create a node as it gives the following error:

Please help.

Thanks & Regards

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
Sep 10, 2017 2:32 PM UTC

Hi Akash,

If you see that type of error you can fix by this below example screenshot.

Here this is beautifully explained here: Getting Started with AEM Sites Part 2 - Creating a Base Page and Template . I have got the same issue and fixed by using above screenshot.

Hope this helps!!

~Ratna.

10 replies

Sep 25, 2017 4:01 AM UTC

Hello,

Most of the times, for some unknown reason, it is not possible to create a node from Eclipse.  The steps to create nodes on Eclipse project are as follows:-

Step 1: Create Template in CRXde as usual.

Step 2: Import in Eclipse project.  Right-click on the jcr:root or rep:root folder and click on Import from server...

Additional notes :

  1. AEM Server needs to be setup on Eclipse environment. (Eclipse AEM Plugin is available for that)
  2. Suggest you to save your changes before 'importing' as those changes may be irreversible.

Good Luck.

Translate
Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
Sep 10, 2017 2:32 PM UTC

Hi Akash,

If you see that type of error you can fix by this below example screenshot.

Here this is beautifully explained here: Getting Started with AEM Sites Part 2 - Creating a Base Page and Template . I have got the same issue and fixed by using above screenshot.

Hope this helps!!

~Ratna.

Translate
Sep 10, 2017 10:07 AM UTC

Here's a larger screenshot of the issue which shows that the server is connected and synchronized.

Please suggest.

Translate
VeenaVikraman
New Participant
Sep 9, 2017 6:31 PM UTC

You can do it. It is always achievable , but the error message displayed  seems like your eclipse is not able to communicate to the server. Moreover, if there is any error in the type of the node, it will always throw error and won't let you create one.

Translate
akashs51893872
Level 3
Sep 9, 2017 3:10 AM UTC

Thanks for the information Diego.

Translate
Diego_Fontan
Level 4
Sep 8, 2017 9:53 PM UTC

you can check how to use  development tools for AEM project(create a node, debug, etc): Development Tools

Some examples:

Note: In my experience Brackets it could be tricky and hard in some occasion but the other tools works very well for all team member.

Translate
kautuk_sahni
Employee
Feb 16, 2021 7:02 AM UTC
Thank you for sharing the solution.
Translate
Kautuk Sahni
akashs51893872
Level 3
Sep 8, 2017 12:55 PM UTC

Also, could you please give some reference of steps on how to `import it to Eclipse by AEM server`?

Translate
akashs51893872
Level 3
Sep 8, 2017 12:41 PM UTC

This is a good idea; however, it will be great if we can create nodes from outside of CRXDE....

Translate
Prince_Shivhare
New Participant
Sep 8, 2017 10:07 AM UTC

Hi,

Please create a node from CRXDE and import it to Eclipse by AEM server.

This is the best practice we followed.

Regards,
Prince

Translate