Hello, I have been trying to setup an AEM project from the WKND tutorial:
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...
I've also followed the steps in the link below to setup the server instances especially author running:
Everything got going with build success until I got stuck when it came to Step 3 of Project deployment with this command:
$ mvn clean install -PautoInstallSinglePackage
Here is the error log
[INFO]
[INFO] --- content-package-maven-plugin:1.0.2:install (install-package) @ aem-guides-wknd.all ---
[INFO] Installing aem-guides-wknd.all (/Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip) to http://localhost:4502/crx/packmgr/service.jsp
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] Looks like the /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package was not installed, checking the list...
[INFO] basic authentication scheme selected
[INFO] Failure authenticating with BASIC 'Sling (Development)'@localhost:4502
[ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
[INFO] /Users/mmi/Documents/Projects/AEM/Sample project/aem-guides-wknd/all/target/aem-guides-wknd.all-0.0.1-SNAPSHOT.zip package not installed, re-uploading it...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for aem-guides-wknd 0.0.1-SNAPSHOT:
[INFO]
[INFO] aem-guides-wknd .................................... SUCCESS [ 0.444 s]
[INFO] WKND Sites Project - Core .......................... SUCCESS [ 12.132 s]
[INFO] WKND Sites Project - UI Frontend ................... SUCCESS [ 26.288 s]
[INFO] WKND Sites Project - Repository Structure Package .. SUCCESS [ 1.077 s]
[INFO] WKND Sites Project - UI apps ....................... SUCCESS [ 7.259 s]
[INFO] WKND Sites Project - UI content .................... SUCCESS [ 5.626 s]
[INFO] WKND Sites Project - UI config ..................... SUCCESS [ 0.202 s]
[INFO] WKND Sites Project - All ........................... FAILURE [ 30.765 s]
[INFO] WKND Sites Project - Integration Tests ............. SKIPPED
[INFO] WKND Sites Project - Dispatcher .................... SKIPPED
[INFO] WKND Sites Project - UI Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:26 min
[INFO] Finished at: 2021-04-06T16:58:29+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:1.0.2:install (install-package) on project aem-guides-wknd.all: Error while installing package. Check log for details. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :aem-guides-wknd.all
BTW when the author instance runs or when I visit http://localhost:4502/crx/packmgr/service.jsp, it redirects here with a register form.
Do I have to fill this up since my company hasn't provided a license key to me yet?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
You need a license file for the AEM to be registered otherwise it won't work.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
BTW when the author instance runs or when I visit http://localhost:4502/crx/packmgr/service.jsp, it redirects here with a register form.
Do I have to fill this up since my company hasn't provided a license key to me yet?
Views
Replies
Total Likes
Check the below link and login first before you build.
You need a license file for the AEM to be registered otherwise it won't work.
Views
Replies
Total Likes
Views
Replies
Total Likes
This can be due to if you are using different passwords for AEM author instance
You need to change your pom.xml file and replace the default password with your password that you are using for the Author instance
<properties>
<aem.host>localhost</aem.host>
<aem.port>4502</aem.port>
<aem.publish.host>localhost</aem.publish.host>
<aem.publish.port>4503</aem.publish.port>
<sling.user>admin</sling.user>
<sling.password>your_password</sling.password>
<vault.user>admin</vault.user>
<vault.password>your_password</vault.password>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>