我正在构建一个 Vaadin 8 + Wildfly Swarm 示例。
根据Vaadin 8 的 Data-Centric Applications,在我的第一步中,我构建了一个 Vaadin 应用程序的多模块示例。
然后作为第二步,我在添加Wildfly Swarm Microprofile Rest Client时测试了一些 Vaadin API 。我知道这个模块有一些问题,但是当我将它添加到Vaadin + Wildfly Swarm应用程序中时,我失去了 Vaadin 映射并且无法访问我的前端应用程序!
我的第一个例子是在这个存储库的主分支上工作。这是在没有 Microprofile Rest Client 的情况下加载的 Wildfly Swarm 分数:
2018-06-21 10:30:06,106 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Logging - STABLE org.wildfly.swarm:logging:2018.3.3
2018-06-21 10:30:06,116 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Bean Validation - STABLE org.wildfly.swarm:bean-validation:2018.3.3
2018-06-21 10:30:06,116 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: CDI Configuration - STABLE org.wildfly.swarm:cdi-config:2018.3.3
2018-06-21 10:30:06,117 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Transactions - STABLE org.wildfly.swarm:transactions:2018.3.3
2018-06-21 10:30:06,117 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: CDI - STABLE org.wildfly.swarm:cdi:2018.3.3
2018-06-21 10:30:06,117 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Undertow - STABLE org.wildfly.swarm:undertow:2018.3.3
我的第二步可以在这个分支中找到。这是加载了 Microprofile Rest Client 的 Wildfly Swarm 分数:
2018-06-21 10:34:01,885 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Logging - STABLE org.wildfly.swarm:logging:2018.3.3
2018-06-21 10:34:01,893 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Bean Validation - STABLE org.wildfly.swarm:bean-validation:2018.3.3
2018-06-21 10:34:01,894 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: CDI Configuration - STABLE org.wildfly.swarm:cdi-config:2018.3.3
2018-06-21 10:34:01,894 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Elytron - STABLE org.wildfly.swarm:elytron:2018.3.3
2018-06-21 10:34:01,894 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: CDI - STABLE org.wildfly.swarm:cdi:2018.3.3
2018-06-21 10:34:01,895 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: JAX-RS with JSON-P - STABLE org.wildfly.swarm:jaxrs-jsonp:2018.3.3
2018-06-21 10:34:01,895 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: JAX-RS - STABLE org.wildfly.swarm:jaxrs:2018.3.3
2018-06-21 10:34:01,896 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Eclipse MicroProfile Config - STABLE org.wildfly.swarm:microprofile-config:2018.3.3
2018-06-21 10:34:01,896 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Microprofile Rest Client - STABLE org.wildfly.swarm:microprofile-restclient:2018.3.3
2018-06-21 10:34:01,896 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Transactions - STABLE org.wildfly.swarm:transactions:2018.3.3
2018-06-21 10:34:01,896 INFO [org.wildfly.swarm] (main) WFSWARM0013: Installed fraction: Undertow - STABLE org.wildfly.swarm:undertow:2018.3.3
我怎样才能让所有工作一起工作?