【发布时间】:2023-03-27 01:25:02
【问题描述】:
我正在尝试排除 JBOSS 7.1.1 中的模块,而 JBOSS 似乎只是忽略了我的 jboss-deployment-structure.xml。
我已将它放在我 EAR 的 META-INF 中。这是我的配置文件的示例:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<exclusions>
<module name="java.xml.bind.api" /> <!- still see it there -->
<module name="somerandomname" /> <!- does not even complain when this doesn't exist -->
</exclusions>
</deployment>
</jboss-deployment-structure>
【问题讨论】: