gpt4 book ai didi

java - 如何通过类名或jar名查找jar及其maven gav

转载 作者:行者123 更新时间:2023-12-01 13:27:42 24 4
gpt4 key购买 nike

我需要知道ApplicationContext属于哪个JAR,同时它的maven gav(我想要它在一些spring jar中)。是否有任何通用的方法来搜索特定类所属的 Jar。我找到http://www.findjar.com可以搜索jar但不能搜索maven gav,那http://www.findmaven.net呢? ?

最佳答案

您可以使用AdvancedSearchhttp://search.maven.org/

对于像 ApplicationContext 这样的类名,您将得到许多结果,因此您可能希望通过 groupId 来限制查询。例如,您可以 search对于:g:org.springframework c:ApplicationContext

关于java - 如何通过类名或jar名查找jar及其maven gav,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21723860/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com