I am using Net Beans (v8.0.2.) Previously there was no such problem in this project but after working a few hours on my project I tried to test it as a jar again. I pressed "clean and build" and I received "the project does not have a build script" error.
I don't have any idea why this happens. How can I fix this problem?
Please note that the program works correctly when I press "Run Project".