第一个问题:decompiled.class file bytecode version:52.0(java 8)
参考https://blog.csdn.net/qq_26558047/article/details/115264624
下载相应的源码包,下载后我是重启了idea才生效的
第二个问题:Library source does not match the bytecode
试了一下找到对应版本jar包文件夹,整个删除,然后重新加载,貌似没有成功,然后在pom文件里把jar包版本改了一下成功了(前期也操作了file-invalidate cashes/restart,不知道有没有影响