Tool to remove unnecessary dependencies in a Java project

前端 未结 6 1226
逝去的感伤
逝去的感伤 2020-12-03 04:18

I have a Java project that currently has a lot of JARs in its libraries directory, which are all included in the resulting package when building. I know, however, that some

6条回答
  •  猫巷女王i
    2020-12-03 04:54

    ClassPathHelper can help you with that.

    Espacially the "Not on Classpath View"

    Not on Classpath

    This view scans for jars that are not on the classpath (but are under the current project). It provides basic browsing of packages and classes that are available but not on the classpath. This can be helpful when trying to build up a classpath, as you can quickly browse for the missing classes to see which jars contain them.

提交回复
热议问题