Vaadin com.vaadin.spring.annotation


i have pom for univers-ui module where i have:

<?xml version="1.0" encoding="UTF-8"?>






in java class:
package com.lukaszjarych.ui.commons;

import com.vaadin.flow.component.UI;
import com.vaadin.flow.router.PageTitle;
import com.vaadin.flow.server.VaadinRequest;
import com.vaadin.flow.theme.Theme;
import com.vaadin.spring.context

public class UniversMainUI extends UI {

public static final String NAME = "/ui";

protected  void init (VaadinRequest request){



the issue is that SpringUI is not seen by Vaadin.
I am using Intellij. Where is the issue? Can anybody help?

You shouldn’t use @SpringUI is the root problem. Another problem is that your line 7 in the screenshot is incomplete and missing a ;

Hi Olli

thank you

what do you mean by root problem ?


i added dependency and i think it should be connected

smoothly :slightly_smiling_face:

but something i missed

SpringUI is not something you need to or should use with Vaadin Flow


great to know this

You might also want to look into Differences Between Vaadin 10+ and Vaadin 8 Applications | Vaadin 8 | Upgrading Guides | Flow | Vaadin 14 Docs

oo thanks!