Two years ago I wrote a simple upload applet using Java, developed using NetBeans. When I first hit \"Clean and Build\" back then, and for some time afterwards, it worked perfec
Option 1: I tried to run the IDE with "Run as Administrator". It helped me to create the jar file properly
Option 2: a. After running "Clean and Build" Go to Netbeans Maven Project Navigator and right-click on the Execute Goal With Modifiers...
b. Remove "test-" from "org.apache.maven.plugins:maven-jar-plugin:2.3.2:test-jar" and selecting all the checkboxes as shown below (You may like to use the command later by selecting the "Remember as" checkbox)
I hope it will help someone