AEM Eclipse Plugin issue - AEM Dev Tools | Community
Skip to main content
Lokesh_Shivalingaiah
Level 10
October 16, 2015
Solved

AEM Eclipse Plugin issue - AEM Dev Tools

  • October 16, 2015
  • 5 replies
  • 1900 views

I have installed AEM plugin for eclipse following 'AEM Developer Tools for Eclipse'.

When I try to create a new AEM project, though it creates the project successfully in eclipse, it throws a below exception and the export of this project into AEM server will not be completely successful.  Any pointers to solve this would be helpful !

 

Publishing failed
Failed installing bundle : Dir D:\CQ_Workspace\aemeclipsetest\core\target\classes does not exist
Dir D:\CQ_Workspace\aemeclipsetest\core\target\classes does not exist
Failed publishing path=/apps/aemeclipsetest/tests, result=JcrResult[ success:false, exception: org.apache.sling.ide.transport.RepositoryException - javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {}dependencies]
Failed publishing path=/content/aemeclipsetest, result=JcrResult[ success:false, exception: org.apache.sling.ide.transport.RepositoryException - javax.jcr.nodetype.ConstraintViolationException: no matching child node definition found for {http://www.jcp.org/jcr/1.0}content]
Failed installing bundle : Dir D:\CQ_Workspace\aemeclipsetest\it.tests\target\classes does not exist
Dir D:\CQ_Workspace\aemeclipsetest\it.tests\target\classes does not exist

 

 

Thanks,

bsloki

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 Sham_HC

Windows is known issue & have to wait till next public release. Or you can build yourself which is upgrade safe.  Here by attaching my build copy & follow below steps

1)    Download  org.apache.sling.ide.p2update-1.0.3-SNAPSHOT.zip from https://sendnow.acrobat.com/?i=wyjeEB48UWqZDgxbCBDlhA

2)   In Eclipse, open the Help menu -> Install New Software ->  Add ->  Archieve -> point to zip file downloaded above  ->  select plugins and Accept the lincense agreements and click Finish.

    3)   unchecked AEM plugin in preferences.

    4)    Now verify with Export

    5 replies

    Sham_HC
    Sham_HCAccepted solution
    Level 10
    October 16, 2015

    Windows is known issue & have to wait till next public release. Or you can build yourself which is upgrade safe.  Here by attaching my build copy & follow below steps

    1)    Download  org.apache.sling.ide.p2update-1.0.3-SNAPSHOT.zip from https://sendnow.acrobat.com/?i=wyjeEB48UWqZDgxbCBDlhA

    2)   In Eclipse, open the Help menu -> Install New Software ->  Add ->  Archieve -> point to zip file downloaded above  ->  select plugins and Accept the lincense agreements and click Finish.

      3)   unchecked AEM plugin in preferences.

      4)    Now verify with Export

      Lokesh_Shivalingaiah
      Level 10
      October 16, 2015

      Perfect !! that worked.. Thanks Sham...

      Level 4
      October 16, 2015

      I'm facing the same issue.

      I installed org.apache.sling.ide.p2update-1.0.4.zip then I uninstalled the AEM developer tools plugin but I still get the same error reported in this post. What do you mean with "3)   unchecked AEM plugin in preferences."?

       

      Thank you

      smacdonald2008
      Level 10
      October 16, 2015

      The log file states that your states target\classes do not exist. Have you properly set them up? Can you submit a screen shot pls. 

      Lokesh_Shivalingaiah
      Level 10
      October 16, 2015

      Hi Smac,

        Yes, I have followed the exact steps given in the document. PFA the screenshot for the reference.