idea提示无效的源发行版: 解决办法:保持三个地方的jdk ,language level一致 idea提示无效的目标发行版 解决办法:setting–>java compiler 设置version与上面一致