I recently updated our pom.xml with new Jsoup dependency version of 1.15.3, since then I am receiving "NoClassDefFoundError: org/jsoup/safety/Whitelist". Is there a different version that I can use to resolve this issue ?
See the CHANGELOG.md:
* Improvement: renamed the Whitelist class to Safelist, with the goal of more inclusive language. A shim is provided for backwards compatibility (source and binary). This shim is marked as deprecated and will be removed in the jsoup 1.15.1 release. <https://github.com/jhy/jsoup/pull/1464>
Apparently, Whitelist has been removed completely with version 1.15.1. Use Safelist instead or revert to an older version of jsoup.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With