Executable jar can't find or load main class after it's created with a gradle task
问题 I used the gluon plugin to create a new single view project and changed nothing in its files. If I use the gradle task application > run it works fine. But if I use the taks build > jar it created the jar under SingleViewProject\build\libs and when I run it from the command line i get Error: Could not find or load main class com.gluonapplication.GluonApplication This is the untouched build.gradle: buildscript { repositories { jcenter() } dependencies { classpath 'org.javafxports:jfxmobile