我的应用程序基于JSF 2.2.4和EJB 3.2构建。它没有使用CDI。应用程序在WildFly 8.2上运行。如果CDI没有使用,我们应该禁用焊接子系统吗?
答案 0 :(得分:1)
它对我有用:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
<deployment>
<exclude-subsystems>
<subsystem name="weld" />
</exclude-subsystems>
</deployment>
<sub-deployment name="app.war">
<exclude-subsystems>
<subsystem name="weld" />
</exclude-subsystems>
</sub-deployment>
</jboss-deployment-structure>