Gradle中的“ bootRun”任务-失败:构建失败,出现异常

时间:2018-09-19 09:54:32

标签: java gradle

我正在关注本教程 https://auth0.com/blog/integrating-spring-data-jpa-postgresql-liquibase/ 在这一刻。 但是我在Gradle中有一些问题...每当我尝试使用“ ./gradlew bootRun”运行项目时,都会返回错误:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootRun'.
> Process 'command 'C:\Program Files\Java\jdk-10.0.2\bin\java.exe'' finished wit
h non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 44s
4 actionable tasks: 2 executed, 2 up-to-date

我正在运行Java 10.0.2和Gradle 4.10.1。

我非常感谢您的帮助!

0 个答案:

没有答案