Files
Knowledge/1 使用/软件使用/软件使用+bae4a8e0-54fb-439b-86f6-546350dbc6a2/linux+065d79c9-1446-43b4-b54a-1de32f88bca9/Error Groovy-Eclipse Compilation failed.md
T

850 B
Raw Blame History

环境:
MacBook Pro 13
jdk8
IntelliJ IDEA 2020.1.1

问题:
IDEA环境,单独跑test case 文件/ 方法、main方法,提示Error:Groovy-Eclipse: Compilation failed

现象:
在这里插入图片描述

分析:
如现象图:2 可以引导;点击进入“Compiler” 配置
在这里插入图片描述
从 Conmpiler 进入 Java Compiler:
2 可以可以选 Use compiler

在这里插入图片描述
选择Javac -> Apply,

重试 test case/main 方法 可以正常运行。