Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
之后,我在 Intellij IDEA 中导入了一个项目,它无法解决任何依赖关系。因为在 Settings -> Build Tools -> Maven -> Repositories in the Indexed Maven Repositories 中,它只有本地 repo。那么,如何添加 Maven 中央存储库?
那一定是因为您没有正确配置maven。
验证您的配置是否正确
/.m2/settings.xml
有关更多信息,请参阅
http://maven.apache.org/settings.html