簡體   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