Lemar
Lemar

Reputation: 50

Vaadin 10: Server connection lost, when clicking Button



Everytime, when I'm clicking on a simple Button, which should pop up a notifation or other stuff I am instantly getting the Notification: Server connection lost, trying to reconnect...

I have the same problem when i'm navigating on a view, that contains a grid!
I have the problem since I'm using Vaadin10

I hope anybody can help me...

Upvotes: 1

Views: 793

Answers (1)

Armer B.
Armer B.

Reputation: 772

I have absolutely the same issue. I managed to create web app with Vaadin Flow 12.0.4 and Spring Boot 2.1.2.RELEASE. Unfortunately if Thymeleaf dependency

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-thymeleaf</artifactId>
    </dependency>

has been added, then Vaadin button doesn't work. Remove Thymeleaf dependency and your Vaadin Flow will work into Spring Boot. In addition maybe if you tried playing with older versions of these two frameworks you will avoid this problem, but it is not guaranteed that something else will not being broken. Anyway to me this is Vaadin Flow bug, and also I will strongly recommend do not use Vaadin and Spring Boot simultaneous in production.

Upvotes: 1

Related Questions