Gradle Run with --stacktrace option to get the stack trace

IDEA中使用Gradle的时候遇到以下异常:

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

解决办法:

IDEA中File-Settings-Build,Execution,Deployment-Build Tools-Gradle,修改Gradle的Build和Run方式为IDEA。

Gradle Run with --stacktrace option to get the stack trace_第1张图片

Gradle Run with --stacktrace option to get the stack trace_第2张图片

 

你可能感兴趣的:(知新,intellij-idea,java,ide,gradle)