首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >失败DL罐Maven

失败DL罐Maven
EN

Stack Overflow用户
提问于 2016-02-24 16:32:33
回答 1查看 449关注 0票数 0

在搜索了两周不同的解决方案之后:我没有找到答案:这里是错误堆栈:

代码语言:javascript
复制
[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防火墙,但没有成功。反病毒赛门铁克EndPoint有可能拒绝DL吗?

丁烯

编辑 settings.xml:

代码语言:javascript
复制
 <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图片:

任何建议都是欢迎的

EN

回答 1

Stack Overflow用户

发布于 2016-05-06 08:51:54

为了减少可能出现的问题,请不要使用eclipse的嵌入式maven安装。

从官方网站下载maven二进制文件并为NTLM proxy.You配置maven安装,需要CNTLM来删除这些NTLM problems.Use this教程使用命令提示符成功安装maven所做的one.After非常详细,只需通过更改首选项将安装添加到eclipse。

提示:许多时候,eclipse甚至不打开maketplace,甚至我们在preferences.Just中输入了所有代理详细信息,将您的系统代理指向CNTLM代理端口,您将能够访问市场。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35607748

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档