Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Commands like Build, Clean And Build and Debug are sometimes disabled, for unknown reason to. Note: Compile On Save is not checked for these projects
What project are you talking about (maven, ant?)
I have three projects created as Java Application or Java Class Library. All contain a main routine in the name giving class.
One project just serves as a library with all routines common to the other two projects. Sometimes the two projects which interact through a Dialog form miss these command. I am left with noting but to restart Netbeans to have them available again.
*** This bug has been marked as a duplicate of bug 242261 ***