Jar包更新后,报错信息:“Library source does not match the bytecode for class”,经检查,发现Jar内容还是旧版本的。
解决方法- 找到maven依赖下载的位置,在 settings.xml 文件配置的,可以在idea的设置中查看,我的配置如下:
- 删除本地仓库中原来的下载的依赖,然后重新下载依赖即可。

Jar包更新后,报错信息:“Library source does not match the bytecode for class”,经检查,发现Jar内容还是旧版本的。
解决方法