2

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.enter image description here

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".

WVrock
  • 1,725
  • 3
  • 22
  • 30

1 Answers1

6

You have delected the file Build.xml in you projects home direct it's mostly found in

C:\users\<yourUsername>\Documents\NetBeansProjects\<yourProjectName>\build.xml

restarting netbeans solves this problem easily.

you wasted time restarting you PC.

Kanha_ji
  • 87
  • 1
  • 9