gpt4 book ai didi

java - JBoss中如何知道某个模块依赖于哪些模块?

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

我如何知道模块需要哪些依赖项,例如下面的 PostgreSQL 驱动程序?如果我没有用谷歌搜索,我就不会知道这一点。我应该在哪里找到这些信息?

<module xmlns="urn:jboss:module:1.1" name="org.postgresql">    
<resources>
<resource-root path="postgresql-9.1-902.jdbc4.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>

最佳答案

您可以使用Tattletale

Tattletale is an excellent tool that recursively scans your application and provides detailed reports about its contents. Tattletale 1.2.0.Beta2 or later contains additional support to help with the new JBoss Modules class loading used in WildFly. Tattletale's "jbossas7" report can be used to to automatically identify and specify dependent module names in your application's jboss-deployment-structure.xml file.

Use Tattletale to find application dependencies

关于java - JBoss中如何知道某个模块依赖于哪些模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26439141/

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