java.lang.IllegalAccessError: tried to access method org.jsoup.nodes.Node.<

Hi,

I am trying to move my Vaadin 8 project to Vaadin Flow, I am using the business app as a starter template.
I seem to be getting this error when I am trying to run the project.

java.lang.IllegalAccessError: tried to access method org.jsoup.nodes.Node.<init>(Ljava/lang/String;)V from class com.vaadin.flow.server.PwaIcon

Not sure how should I get around this error.

Thanks

You need to figure out while you have the wrong JSoup on your classpath. If you have both Vaadin 8 and Flow dependencies in your project, you need to exclude the org.jsoup dependencies from Vaadin 8.

Thank you. I found your other post where you had suggested to run

mvn dependency:tree -Dverbose

I searched for jsoup and found that I was multi-file-upload addon for vaadin 8.