I've been getting this error message when I want to create a new project in NetBeans. There are two old answers for this question, Project Folder already exists and is not empty- Error in netbeans and Netbeans error: Project Folder already exists and is not empty. Not only they are addressed for NetBeans 7, but also they didn't work.
I tried:
but none of them worked!
I really appreciate if you'd suggest a solution. Thanks already!
SOLVED: I uninstalled NetBeans from C directory and installed it to the D directory. Then while creating a new project I choose a directory under D. It works fine now!
Right-click on the project node and select Delete. In the confirmation dialog, click Yes. Exit NetBeans. Use the File Manager to manually delete the project folder.
The project directory is just a place where you've custom-specified the netbeans projects storage. But, the sub-directory myapp is simply one of the project name of your NetBeans projects which is to be stored inside the parent NetBeans projects directory (D:\dev\java\project) here.
A few thoughts: [1] Instead of cmd 1 use Window -> Projects to open the Projects window. [2] Create a new project. That should open the Projects window if it is not already open. [3] If you still don't have a Projects window then open the NetBeans log file using View -> IDE Log and look for any relevant error messages.
There is a 99% chance that this is caused by your antivirus application.
You can check on allow file modification for NetBeans in your antivirus application.
I have Bit-defender total security 2018, so if you have it follow me:
By the way I think Bit-defender is blocking applications to access files on the C drive if I'm not mistaken, so that's probably why it worked for you when you put it on the D drive...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With