I’ve downloaded the Starter Vaadin 10 + Spring but when I add the JPA dependency and try to run app using the option “Run as Spring Boot App” in Eclipse I get this: “Error: Unable to find the main class”. Also my project folder in eclipse get a red exclamation icon when I add that dependency.
Does anyone know how to integrate Spring boot + JPA with Vaadin 10 correctly?
The dependencies in my pom.xml file are listed below:
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.0.4.RELEASE</version>
</dependency>
Thanks in advance.
Matías