Wildfly 19 - 错误 WFLYCTL0362:资源所需的功能

Wildfly 19 - error WFLYCTL0362: Capabilities required by resource

我在WildFly 19的“infinispan”子系统中添加了一个缓存容器standalone.xml,如下:

        <cache-container name="appCacheContainer" default-cache="passivation">
            <local-cache name="appCache">
                    <!-- expiration, eviction, security... -->
            </local-cache>
        </cache-container>

但是,当我启动 Wildfly 时,我收到以下错误:

 00:25:41,885 ERROR [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0362: Capabilities required by resource '/subsystem=infinispan/cache-container=appCacheContainer' are not available:
org.wildfly.clustering.infinispan.cache-configuration.appCacheContainer.passivation; Possible registration points for this capability: 
    /subsystem=infinispan/cache-container=*/local-cache=*
    /subsystem=infinispan/cache-container=*/invalidation-cache=*
    /subsystem=infinispan/cache-container=*/replicated-cache=*
    /subsystem=infinispan/cache-container=*/distributed-cache=*
    /subsystem=infinispan/cache-container=*/scattered-cache=*
00:25:41,893 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

我是否遗漏了任何配置设置?

我已通过从缓存容器标签中删除属性“default-cache”解决了这个问题。

现在,我的缓存容器如下所示:

    <cache-container name="appCacheContainer">
        <local-cache name="appCache">
                <!-- expiration, eviction, security... -->
        </local-cache>
    </cache-container>

但是,我不确定为什么属性“default-cache”会产生错误。