Hi Kaspar, For some reason, since I enabled spring-devtools I get the foll

Hi Kaspar,

For some reason, since I enabled spring-devtools I get the following on the scrolllayout when I open a page where it is used.

Any ideas?

Thank you.

Invocation of init method failed; nested exception is java.lang.LinkageError: loader constraint violation: when resolving method 'com.vaadin.flow.component.orderedlayout.VerticalLayout ch.carnet.kasparscherrer.VerticalScrollLayout.getContent()' the class loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @53164f93 of the current class, 

com/oriumfit/web/ui/manager/user/UserProfile, and the class loader 'app' for the method's defining class, ch/carnet/kasparscherrer/VerticalScrollLayout, have different Class objects for the type com/vaadin/flow/component/orderedlayout/VerticalLayout used in the signature (com.oriumfit.web.ui.manager.user.UserProfile is in unnamed module of loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @53164f93, parent loader 'app'; ch.carnet.kasparscherrer.VerticalScrollLayout is in unnamed module of loader 'app')'

I have no idea what this could be, never seen anything similar. What vaadin version are you using? Since this add-on is very small and without template files, you could try copying the VerticalScrollLayout class into your own project and check if it works for you then.

Ok thank you, I will try that.
I guess it’s related to hotswapping and not specific to your component.

Thanks for the ScrollLayout btw! I use it all over the place. Simple but effective :)