Library source does not match the bytecode IDEA中解决办法总结

1. 网上办法

①卸载lombok:File-settings-Plugins里找到lombok,卸载

②清缓存:File-Invalidate Caches/Restart
Library source does not match the bytecode IDEA中解决办法总结

2.我的解决办法

①找到本地maven仓库文件夹中jar包所在位置,应该有多个版本jar包,只留自己需要的那个版本,其他删掉。

②Project Structure-Libraries,找到对应名字jar包,然后删除

③右键项目-maven-reimport
Library source does not match the bytecode IDEA中解决办法总结