阅读量:0
运行异常日志如:
> Process 'command 'C:/Program Files/Java/jdk-1.8/bin/java.exe'' finished with non-zero exit value 1 * Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':Test.main()'. Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:/Program Files/Java/jdk-1.8/bin/java.exe'' finished with non-zero exit value 1
解决方案:
Idea>Settings>Build, Execution, Deployment>Build Tools>Gradle
设置以下2项
Build and run using:IDEA(原Gradle)
Run tests using:IDEA(原Gradle)