Cannot Build War
After extending SpringBootServletInitializer, and executing: ./gradlew -Pvaadin.productionMode=true bootWar, I get the message below, only after i comment out @PWA does it build
I get Execution failed for task ‘:vaadinBuildFrontend’.
←[33m> ←[39mcom.vaadin.flow.server.ExecutionFailedException: Error occured during goal execution: There can only be one @PWA annotation and it must be set on the AppShellConfigurator implementor.
Cannot Deploy war
After commenting out @PWA it builds but then gets exception on the @Push and @Theme annotation, and the application does not start.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘vaadinApplicationContextInitializer’ defined in class path resource [com/vaadin/flow/spring/VaadinApplicationConfiguration.class]: Found configuration annotations that will not be used in the application.
Move it to a single route/a top router layout/web component of the application.
Class ‘com.assurant.ccd.omnichannelui.OmniChannelUIApplication’ contains ‘@Push’, but it is not a router layout/top level route/web component.
Using jmix 2.2.0-233
Javier