简体   繁体   中英

Java app does not start after successful gradle build in eclipse

Simple java libgdx hello world builds sucecssful with gradle(new to gradle) build tool from eclipse, but it does not start. Ie I get ton of green buttons in graddle executions tab, and BUILD SUCCESSFUL in console tab. I cant find any errors that something went wrong and application could not start or any runtime errors. Nothing. All instructions Ive been able to find on internets only tells how to build, none tells how to start the newly built application.

If your gradle build is successful and the build script is correct, then the jar or war file which is created as a part of packaging should be under < actualProjectFolder >/build/libs/< yourprojectartifactname >-< version >.jar. I think looking at contents of build folder should give you an idea on what could be wrong.

谢谢,我终于成功了,它确实是在项目文件夹中进行gradle运行(在Windows上gradlew运行)。

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