I think a lot of developer was waiting for this. Applause...

I think a lot of developer was waiting for this. Applause…

Not working on Vaadin Flow V15 :(

Not working on Vaadin Flow V15 :(

Hi, tried to fix this bug. I released a new beta version and shared a demo project using the Vaadin Flow V15 on Github. https://github.com/Gubancs/leaflet4vaadin-demo

Have you tried to deploy as a war to Tomcat Application Server?

  • Working as Spring Boot Project with embedded Jetty AS.
  • Not working as a deployed simple project in Tomcat AS.
    18153688.png

I haven’t tried to deploy as war to a tomcat server, because the packaging of this maven project is jar.
How do you build the war?

https://vaadin.com/start/latest

In the page above, you should select ‘Plain Java Servlet’ option instead of ‘Spring Boot’ option.

This demo project (V15) configured as a deployable war project.

After creating deployable war file via maven “clean install” command, you should put this as into Tomcat’s webapps folder.

When you start Tomcat, you can see the error log about this add-on which a shared before.
18153744.png

I think you should delete your package.json and package-lock.json files before deploying the war to Tomcat server. (it worked for me)

By the way, I’m not sure but I really hope the Vaadin add-ons are technology stack independent if they work with Spring boot then should work also with plain java servlet.