IDEA Library source does not match the bytecode for class

今天看项目源码的时候IDEA报了上面这个错,经过一番查询,Jar包有问题,要么是冲突了,要么就是没有包,用Maven重新导一下。

具体步骤截图。

仓库地址,可改可不改,我当时的仓库地址在C盘,我重新给配置了一下。(到时候解决不了,就换一下仓库地址,重新下Jar包)

IDEA Library source does not match the bytecode for class第二步,打开Maven工具

IDEA Library source does not match the bytecode for class

点一下,刷新按钮,这时候Jar包会重新下,根据你的项目。

 

 

 

记录一下,避免以后踩坑!!