解决办法很简单:File-->Setting...-->Build,Execution,Deployment-->Compiler-->Java Compiler 设置相应Module的target bytecode version的合适版本(跟你jkd版本一致),这里我改成1.8版本的。
相关文章
- Error launching IDEA-If you already have a 64-bit JDK installed, define a JAVA_HOME variable in...解决
- Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component...java.util.zip.ZipException: error in opening zip file
- Idea .1版bug!Error:(3, 40) java: 程序包com.xxxx不存在
- 针对xxl-job调度失败,java.lang.RuntimeException: Network request error: Connect to failed: connect timed
- IDEA报错:Error:(46, 56) java: 程序包com.mysql.jdbc不存在
- Error:(4, 52) java: 程序包org.springframework.beans.factory.annotation不存在 idea202.1 (已解决)
- IDEA报错:Artifact java_web:war exploded: Error during artifact deployment. See server log for details.
- 【JAVA-IDEA报错】【已解决】:Error:Cannot run program “C:\Program Files\Java\jdk1.8.0_20\bin\java.exe“
- jmeter执行接口报"status":500,"error":"Internal Server Error","exception":"java.lang.IllegalArgumentExcep"
- Sqoop导入Hive:ERROR tool.HiveImportTool:import failed:java.io.IoExeception:Hive exited with status 1