简体   繁体   中英

Getting starting process 'command 'C:\Program Files\AdoptOpenJDK\jdk-11.0.6.10-hotspot\bin\java.exe''

by running gradlew run on Window 10 The following error is displayed in the terminal :

> Task :storage:run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':storage:run'.
> A problem occurred starting process 'command 'C:\Program Files\AdoptOpenJDK\jdk-11.0.6.10-hotspot\bin\java.exe''

* 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.

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

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

Any suggestion is welcome

Not really sure what just happened; but for me, working in a spring-boot project, changing Shorten command line option in Run/Debug Configurations to JAR manifest from none solved the issue.

缩短运行/调试配置中的命令行

Can you try build and run using Intellj IDEA instead of Gradle. image

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM