java - Maven 中的 Springframework-core 更新导致我超时

标签 java maven repository

这就是它的样子:

artifact org.springframework:spring-core: checking for updates from glassfish-repository
WARNING] repository metadata for: 'artifact org.springframework:spring-core' could not be    retrieved from repository: glassfish-repository due to an error: Error transferring file:    Connection timed out

glassfish 存储库似乎无法访问。我不明白为什么 Maven 试图连接到 glassfish-rep。我认为它试图到达可用的中央存储库(我检查过)。嗯,我想我不太理解maven的远程存储库管理。也许有人可以帮助我?

最佳答案

您必须在配置中的某个位置(在 pom.xml 或 ~/.m2/settings.xml 中)注册 glassfish-repository

关于java - Maven 中的 Springframework-core 更新导致我超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9892501/

相关文章:

java - 如何使用 Keyczar 生成和使用 key ?

maven - 在 Jenkins Maven 作业中显示自定义测试结果

java - Maven 在与 "classifier"标记一起使用时生成两个 jar 文件

java - Scala - 运行时字符串模板

java - 无法使用 Intent 获取传递的值

java Spring Boot jar 在 CentOS 上崩溃

Maven 私有(private)远程仓库设置

performance - git - 只获取文件,不获取历史

git - 如何重命名 GitHub 上的存储库?

java - JENA - 从 RDF 中获取值(value)