开发者社区> 问答> 正文

Fatal error compiling: 无效的目标版本: 1.8 -> [Help.. :报错

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project motest: Fatal error compiling: 无效的目标版本: 1.8 -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

展开
收起
kun坤 2020-06-14 07:16:19 490 0
1 条回答
写回答
取消 提交回答
  • 我刚解决,我这里的问题是系统环境变量的jdk版本低,改成1.8就好了。不知道你那里是不是

    2020-06-14 07:16:24
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载