I got this error when running https://github.com/vaadin/designer-tutorial/archive/latest-initial.zip
2023-03-31 09:38:35.296 INFO 25368 --- [v-server-output] c.v.b.devserver.DevServerOutputTracker : [TypeScript] Found 0 errors. Watching for file changes.
2023-03-31 09:38:48.764 ERROR 25368 --- [nio-8080-exec-5] c.v.flow.server.DefaultErrorHandler :
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jsoup/safety/Safelist
at com.vaadin.flow.server.communication.rpc.PublishedServerEventHandlerRpcHandler.invokeMethod(PublishedServerEventHandlerRpcHandler.java:229)
...
Caused by: java.lang.ClassNotFoundException: org.jsoup.safety.Safelist
I solved it by adding this into pom.xml
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.15.3</version>
</dependency>
I got this error when running https://github.com/vaadin/designer-tutorial/archive/latest-initial.zip
2023-03-31 09:38:35.296 INFO 25368 --- [v-server-output] c.v.b.devserver.DevServerOutputTracker : [TypeScript] Found 0 errors. Watching for file changes.
2023-03-31 09:38:48.764 ERROR 25368 --- [nio-8080-exec-5] c.v.flow.server.DefaultErrorHandler :
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jsoup/safety/Safelist
at com.vaadin.flow.server.communication.rpc.PublishedServerEventHandlerRpcHandler.invokeMethod(PublishedServerEventHandlerRpcHandler.java:229)
...
Caused by: java.lang.ClassNotFoundException: org.jsoup.safety.Safelist
I solved it by adding this into pom.xml