So the story is:
- This issue was discovered and fixed in
XWIKI-13678by adding a jboss-all.xml file in the XWiki WAR
- For some reasons I got a problem in Wildfly 14.0.1 with this jboss-all.xml file, see
XWIKI-15566. This led me to remove the file and I found it to be working without it. Note: I think I was mistaken and something was cached, leading me to believe it was working.
- After retesting XWiki on WildFly 14.x and 17.x, I found that it fails unless I put back this jboss-all.xml file to prevent CDI scanning.