如何在IntelliJ中找到负责特定类的Maven依赖项?

时间:2017-07-04 10:17:53

标签: maven class intellij-idea jar dependencies

在IntelliJ中,我试图检索负责提供特定类(或整个JAR)的Maven依赖项。

我该怎么做?

1 个答案:

答案 0 :(得分:0)

由于您正在谈论的不是Maven Central提供的依赖项,因此无法在集中搜索advanced search feature上使用as has been suggested elsewhere,并且在注释中指出您的联系也不支持按班级名称搜索。另一个选择是IntelliJ can tell you where a class file used in your project comes from使用该功能来打开一个类。这是⌘O on a mac。在IntelliJ 2017.1中,它看起来像:

enter image description here