Error:java: 无效的标记: --release

Updated on in 开发工具 with 0 views and 0 comments

问题描述

20181009092120622.png

以上错误是因为Java版本不匹配

解决办法

  • 需要修改是一下三处:
file -> settings -> Build Execution and Deployment -> Java -> Compiler
 File -> Project Structure -> Module Settings -> Tab: Source: Language Level
 File -> Project Structure -> Project(In left pane) -> Project language level

标题:Error:java: 无效的标记: --release
作者:dduan
地址:https://dduan.site/articles/2019/10/29/1572335774463.html