无法在IntelliJ版本中运行Junit测试用例:社区2017.2,同样适用于旧版本。
我找到了两个链接link1和link2但无法解决问题。请帮忙。
我收到错误:
Information:java: Errors occurred while compiling module 'XXXXX'
Information:javac 7 was used to compile java sources
Information:18/10/17, 1:10 PM - Compilation completed with 1 error and 0 warnings in 2m 11s 343ms
Error:java: Compilation failed: internal java compiler error
pom.xml有,
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
Project gradle version
$ gradle -version
------------------------------------------------------------
Gradle 3.0
------------------------------------------------------------
Build time: 2016-08-15 13:15:01 UTC
Revision: ad76ba00f59ecb287bd3c037bd25fc3df13ca558
Groovy: 2.4.7
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.7.0_80-ea (Oracle Corporation 24.80-b07)
OS: Mac OS X 10.12.6 x86_64
提前致谢。