更新时间:2023-09-21 21:39:04
We found another solution.
You can also exclude the jpa subsystem in jboss-deployment-structure.xml of the war:
<exclude-subsystems>
<subsystem name="jpa" />
</exclude-subsystems>
<exclusions>
<module name="javaee.api" />
</exclusions>