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
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Perfect !! that worked.. Thanks Sham...
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
Hi Smac,
Yes, I have followed the exact steps given in the document. PFA the screenshot for the reference.
Views
Replies
Total Likes