Can I create Vaadin 25 project without using Spring?

I was trying to use the App Skeleton builder to create a Vaadin 25 (pre) sample that does not use Spring. Is this possible? The POM that is generated contains Spring references and if I strip them out and try to use similar build options to a Vaadin 24 project it fails to build or run.

If I try to simply use an existing Vaadin 24 project and replace references to V24 with V25 the project fails to build.

If it is possible to not use Spring then can someone provide a sample POM file that works?

Thanks!
Andrew

Here is the most simple example without Spring GitHub - vaadin/skeleton-starter-flow at v25

1 Like

Thank you!

It took me a while to figure out how to migrate my V24 POM to the V25 POM but my project now builds and runs. The only real changes I had to make in my app was to

  1. replace my @Theme(Lumo.STYLESHEET) with @StyleSheet(Lumo.StyleSheet) and @StyleSheet(“styles.css”) to get rid of the deprecation warning.
  2. comment out @JsModule(“@vaadin/vaadin-lumo-styles/presets/compact.js”)
  3. upgrade my node from v20 to v24.