As a workaround, you may use the wildfly-specific VFS api and write your own ResourceAcessor implementation, such as this one below.
public class WildflyVFSClassLoaderResourceAccessor extends AbstractResourceAccessor {
private ClassLoader classLoader;
public WildflyVFSClassLoaderResou...