Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM jar 6.5: [ERROR] Request to http://localhost:4502/crx/packmgr/service.jsp failed, response=Unauthorized

Avatar

Avatar
Boost 1
Level 1
jkiel1091
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
jkiel1091
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
jkiel1091
Level 1

06-04-2021

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:

https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-loc...

 

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​

 

 

I'm using a Mac system (Big Sur v11.2.3) and already tried first with Windows but also the same.
Have also researched this issue with fixes from similar forums here (including adding <useProxy> tag to pom.xml) yet no luck 😞
Here are other details of the software requirements I'm using:
Java v1.8.0_281
Maven v3.6.3
AEM Quickstart JAR v6.5 
 
UPDATE:

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?

Screen Shot 2021-04-06 at 6.05.45 PM.png

AEM 6.5 build build failure wknd

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,159 likes

Total Posts

6,255 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,159 likes

Total Posts

6,255 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

06-04-2021

You need a license file for the AEM to be registered otherwise it won't work. 

Answers (3)

Answers (3)

Avatar

Avatar
Establish
MVP
Anudeep_Garnepudi
MVP

Likes

274 likes

Total Posts

320 posts

Correct Reply

87 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
Anudeep_Garnepudi
MVP

Likes

274 likes

Total Posts

320 posts

Correct Reply

87 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
Anudeep_Garnepudi
MVP

06-04-2021

Avatar

Avatar
Boost 1
Level 1
jkiel1091
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
jkiel1091
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
jkiel1091
Level 1

06-04-2021

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?

Screen Shot 2021-04-06 at 6.05.45 PM.png

Avatar

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

44 likes

Total Posts

45 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Establish
Level 4
Rohit_Utreja
Level 4

Likes

44 likes

Total Posts

45 posts

Correct Reply

15 solutions
Top badges earned
Establish
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Rohit_Utreja
Level 4

06-04-2021