vaadinvaadin8demowildfly-swarm

Vaadin/Wildfly Swarm Demo not working


I'm trying to recreate the Vaadin Wildfly Swarm demo with the version 8 from Vaadin, but it doesn't work!

I'm following the demo as we can find here: https://github.com/wildfly-swarm/wildfly-swarm-examples/tree/master/vaadin

If we download the source code from this repository and execute, it works.

But if I remove it from this repository, and only add the Vaadin/Wildfly Swarm dependences, it doesn't work.

It will run with no errors, but we cannot hit the http://localhost:8080/

Here is my example removing it from its repository: https://github.com/vepo/vaadin-demo

How can I made the hello world works?


Solution

  • It may sometimes be hard to see what you need to copy from the parent project, if you are flattening a Maven multi-module project hierarchy, as with the swarm examples project.

    I created a minimal Vaadin + Swarm project without parent projects using the Swarm Generator and by adding needed Vaadin dependencies. Check that out and you can base your project on that. The project also contains vaadin-maven-plugin and Directory maven repository so it is easy to start to use client side add-ons.

    BTW. I also created a pull request to update the official Vaadin example to V8.