AEM jar 6.5: [ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized
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-develop/project-setup.html?lang=en#prerequisites
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?
