2周後尋找不同的解決方案:我未能找到答案:錯誤,這裏的堆棧:失敗DL罐子的Maven
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building TestProject 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/springframework/security/spring-security-samples/3.0.7.RE
LEASE/spring-security-samples-3.0.7.RELEASE.pom
fÚvr. 24, 2016 5:22:53 PM org.apache.maven.wagon.providers.http.httpclient.impl.auth.HttpAuthenticator generate
AuthResponse
AVERTISSEMENT: NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credent
ials provided (Mechanism level: Failed to find any Kerberos tgt))
fÚvr. 24, 2016 5:22:53 PM org.apache.maven.wagon.providers.http.httpclient.impl.auth.HttpAuthenticator generate
AuthResponse
AVERTISSEMENT: KERBEROS authentication error: No valid credentials provided (Mechanism level: Failed to find an
y Kerberos tgt)
fÚvr. 24, 2016 5:22:53 PM org.apache.maven.wagon.providers.http.httpclient.impl.auth.HttpAuthenticator generate
AuthResponse
AVERTISSEMENT: NTLM authentication error: Credentials cannot be used for NTLM authentication: org.apache.maven.
wagon.providers.http.httpclient.auth.UsernamePasswordCredentials
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.996 s
[INFO] Finished at: 2016-02-24T17:22:53+01:00
[INFO] Final Memory: 6M/16M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project TestProject: Could not resolve dependencies for project TestProject:T
estProject:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.springframework.security:spring-security-s
amples:jar:3.0.7.RELEASE: Failed to read artifact descriptor for org.springframework.security:spring-security-s
amples:jar:3.0.7.RELEASE: Could not transfer artifact org.springframework.security:spring-security-samples:pom:
3.0.7.RELEASE from/to central (https://repo.maven.apache.org/maven2): Not authorized by proxy , ReasonPhrase:Pr
oxy Authentication Required (Forefront TMG requires authorization to fulfill the request. Access to the Web Pr
oxy filter is denied. ). -> [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/DependencyResolutionException
我使用Eclipse火星,Maven的3.3.3和我配置了settings.xml
與代理。
我也嘗試使用ISA防火牆沒有成功。防病毒Symantec EndPoint可否拒絕DL?
日Thnx
編輯 的settings.xml:
<proxies>
<proxy>
<id>proxy</id>
<active>true</active>
<protocol>http</protocol>
<host>172.22.200.22</host>
<port>8080</port>
<username>INTRA\USerName</username>
<password>password</password>
</proxy>
</proxies>
配置Eclipse的圖片:
任何建議是歡迎
你通過代理訪問互聯網,你需要提供認證? –
該公司使用在計算機中配置的代理。而在'settings.xml'中,我使用會話名稱和密碼配置了身份驗證 – Hohenheim
@JPMoresmau我使用我的'settings.xml'編輯了 – Hohenheim