错误:Library source does not match the bytecode for class

628 阅读1分钟

原因

IDEA 出现错误 :Library source does not match the bytecode for class,库源与类的字节码不匹配

解决

  1. IDEA --file --Invalidate Caches/Restart... 清缓存
  • 还不行
  1. 找到本地仓库,删除对应的包,重新下载编译