You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Theme(Lumo.class)
public class AbstractView extends Div {
@Route("Upload")
public class UploadView extends AbstractView {
Fails on deployment with
com.vaadin.flow.server.InvalidApplicationConfigurationException: Found configuration annotations that will not be used in the application.
Move the following annotations to a single route or the top RouterLayout of the application:
Non RouterLayout: test.AbstractView contains: Theme
The text was updated successfully, but these errors were encountered:
Why is not AbstractView actually abstract ? We could skip the error for abstract class and interface and instead just log on trace level.
The use case for having just one location for the @Theme for all views in the app is very valid. Same kind of goes for the PageConfigurator also. But is it too cumbersome to have a RouterLayout just for that ?
Fails on deployment with
The text was updated successfully, but these errors were encountered: