繁体   English   中英

如何在 maven intellij 中添加外部库

[英]How to add an external library in maven intellij

我从 github 复制了一些代码,但库有问题。 我的代码看起来像:

代码

当我单击身份验证以添加 maven 依赖项时

点击

它表明没有结果

没有结果

我做错了什么? 在单击“添加 maven 依赖项”之前我应该​​安装任何东西吗?

添加

<dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>spring-security-core</artifactId>
    <version>5.4.0</version>
</dependency>

到你的 pom.xml
或者只是搜索另一个依赖项。 https://mvnrepository.com/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM