Reputation: 332
We have upgraded the project according to the "Upgrading from Vaadin 23" guide. The project can be built, but this happens when I try to run it:
Exception sending context initialized event to listener instance of class [com.vaadin.flow.spring.VaadinServletContextInitializer$CompositeServletContextListener] at com.vaadin.flow.server.startup.VaadinAppShellInitializer.init(VaadinAppShellInitializer.java:96) Caused by: java.lang.ClassNotFoundException: org.jsoup.nodes.Node at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
Upvotes: 0
Views: 67
Reputation: 10643
Use mvn dependency:tree
to see where the dependency conflict is originated. Just noting here, that Vaadin does have dependency to Jsoup, you seem to have some other dependency to that too. So you need to resolve that by setting exclusion in your pom.xml.
Upvotes: 2