java - jar 文件,pom 文件未在 maven 项目中下载
问题描述
我正在尝试运行我的 maven 项目,但在 .m2 文件中我没有看到任何 jar 文件和 pom 文件。在 ecliplse 我得到以下错误
错误-
"Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to repo1.maven.org (http://repo1.maven.org/maven2): connect timed out -> [Help 1]"
我正在从我的浏览器导航“ http://repo1.maven.org/maven2 ”,我可以访问它。
解决方案
推荐阅读
- javascript - jQuery重构,如何为此制作简单的短代码
- postgresql - 如何处理 Kafka 中的动态消息值?
- pandas - 如何根据其他两列的值设置列?
- excel - 根据数量将复制整行更改为复制范围
- python - 烧瓶中的 Exception.TemplateSyntaxError
- java - 如何按列和行在for循环中添加到矩形数组
- angular - 如何使用按钮将 JSON 数据复制到剪贴板
- objective-c - 知道何时从 Xamarin 抛出 NSException
- javascript - 根据数组中的条件删除记录
- swiftui - 正确对齐 VStack 和 HStack