Vaadin映射不适用于MicroProfile Rest客户端

时间:2018-06-21 13:51:19

标签: java vaadin vaadin8 wildfly-swarm microprofile

我正在构建Vaadin 8 + Wildfly Swarm示例。

根据Data-Centric Applications with Vaadin 8,我第一步是构建Vaadin应用程序的多模块示例。

第二步,当我添加 Wildfly Swarm Microprofile Rest Client 时,我正在测试一些Vaadin API。我知道此模块具有some problems,但是当我将其添加到 Vaadin + Wildfly Swarm 应用程序中时,我失去了Vaadin映射,无法到达前端应用!

我的第一个示例正在研究master branch of this repository。这是不使用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

第二步可以在this branch中找到。这是装载了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

如何使所有人员一起工作?

0 个答案:

没有答案