1 noclassdeffounderror pom.xml jsoup
我最近使用新的 Jsoup 依赖项版本 1.15.3 更新了 pom.xml,从那时起我收到了“NoClassDefFoundError: org/jsoup/safety/Whitelist”。我可以使用其他版本来解决此问题吗?
请参阅CHANGELOG.md:
Run Code Online (Sandbox Code Playgroud)* 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>
显然,Whitelist已在版本1.15.1中完全删除。请Safelist改用或恢复到旧版本的 jsoup。
| 归档时间: |
|
| 查看次数: |
4086 次 |
| 最近记录: |