spring - Maven 没有为 spring 框架下载 jar 文件
问题描述
我尝试过各种版本。请帮忙,我是新手。pom文件包含在下面
这是我的 pom 依赖项代码。请让我知道可能的错误或解决方案。
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.3.8.RELEASE</version>
</dependency>
</dependencies>
解决方案
您需要包含 spring web starter 依赖项,因为启动该过程需要更多依赖项,并且每次将包解压缩到 IDE 时都需要 Internet 来下载依赖项。所以试试这个方法就可以解决了。否则在同一个循环中回复,以便我们对其进行排序。
使用此链接获取依赖项。入门网站
推荐阅读
- javascript - 在 DrawerNavigator 中将 props 传递给 contentComponent
- c++ - Cuda NVCC 编译器 - 如何 /showincludes?
- git - 检查给定(远程)git repo 是否具有来自资源受限系统的给定提交
- vba - Excel VBA - 尝试根据批处理文件列表将 300 个工作簿范围复制到工作表中并收到“范围类的粘贴特殊方法失败”错误
- angular - 如何将我的 Angular 服务连接到 Vimeo?(“未提供用户凭据。”)
- docker - ImportError:没有名为“indexer”Flask、Spellchecker 的模块
- java - 为什么 byte[] 会变成 String?
- python - 在 Python 中从大型数据帧创建稀疏矩阵
- c++ - 为什么这段代码会给出 Vector out of range 错误?
- oracle - Plsql:如何使用语句级触发器编写此触发器?