The ‘build’ is creating jars with duplicate classes, so the jarsigner fails to sign them, which prevents the desktop application from working via webstart.
I’ve run ‘gradle clean’, and then the ‘gradle createWebstart’ and still the same errors.
Errors similar to the following:
[signjar] jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: com/company/grocery/gui/extuser/ExtUserBrowser.class
failed to sign jar file app-gui-0.1-SNAPSHOT.jar.sig
: jarsigner returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:644)
I have some additional information, it appears that when you have ‘groovy’ enabled, the same classes are compiled under both ‘groovy’ and ‘java’, and thus when the jar is created you get duplicate entries.