Expand my Community achievements bar.

SOLVED

Some AEM libs cannot be found

Avatar

Employee

Hello, I'm new  to CQ5 and I'm following the "cq5_guide_developer" to practice my first project. It's very smooth until I want to download "cq5libs" from my local CQ5.5 server.

 

Here are the content of the guide I'm following:

 

Proceed as follows:

  1. In your file system, create a CQ5 libraries folder called cq5libs. This folder can be created anywhere.
  2. Under cq5libs, create the folders: cq, sling and wcm.
  3. From the system command line go to .../cq5libs/cq and execute vlt co http://localhost:4502/crx /libs/cq/install . to export the libraries stored under /libs/cq/install from the CQ5 server.
  4. From the system command line go to .../cq5libs/sling and execute vlt co http://localhost:4502/crx /libs/sling/install . to export the libraries stored under /libs/sling/install from the CQ5 server.
  5. From the system command line go to .../cq5libs/wcm and execute vlt co http://localhost:4502/crx /libs/wcm/install . to export the libraries stored under /libs/wcm/install from the CQ5 server.
  6. In Eclipse, right-click the ui project, select Build Path, then Configure Build Path. In the dialog select the Libraries tab.
  7. Click Add External JARS..., navigate to .../cq5libs/cq/jcr_root, select all the jar files and click Open.
  8. Click Add External JARS..., navigate to .../cq5libs/sling/jcr_root, select all the jar files and click Open.
  9. Click Add External JARS..., navigate to .../cq5libs/wcm/jcr_root, select all the jar files and click Open.
  10. Click Add External JARS..., navigate to <cq-installation-dir>/crx-quickstart/server/lib/container, select all the jar files and click Open.
  11. Click OK.

 

I got a error message when I tried to execute "vlt co http://localhost:4502/crx /libs/cq/install " with username and password, but server reponsed like this:

 

Connecting via JCR remoting to http://localhost:4502/crx/libs/cq

[WARN ] Authentication required to access repository descriptors

[ERROR] checkout: com.day.jcr.vault.vlt.VltException: Unable to mount filesystem

caused by: javax.jcr.ItemNotFoundException: Not Found

  caused by: org.apache.jackrabbit.webdav.DavException: Not Found

 

 

Dose anybody have any idea about it?

1 Accepted Solution

Avatar

Correct answer by
Employee

try vlt --credentials admin:admin co http://localhost:4502/crx

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

try vlt --credentials admin:admin co http://localhost:4502/crx