问题描述
我从Nexus存储库中检出了我的代码。我更改了帐户的密码,并在 settings.xml
文件中正确设置。在执行 mvn install clean
时,我收到错误说未授权,ReasonPhrase:未授权
当它尝试从该文件下载文件时存储库。
I checked out my code from the Nexus repository repository. I changed the password for my account and set it correctly inside my settings.xml
file. While executing mvn install clean
I get the error saying Not authorized, ReasonPhrase:Unauthorized
when it tries to download files from that repository.
任何想法如何解决这个错误?我使用的是带有Maven 3.04的Windows 7
Any idea how to solve this error? I am using Windows 7 with Maven 3.04
推荐答案
这里的问题是所用密码中的拼写错误,不容易识别由于密码中使用的字符/字母。
The problem here was a typo error in the password used, which was not easily identified due to the characters / letters used in the password.
这篇关于Maven错误:未经授权,ReasonPhrase:未经授权的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!