"Sources directory is already netbeans project" error when opening a project from existing sources
Thank you!
I was having the same problem:
Sources directory is already NetBeans project (maybe only in memory).
Netbeans creates a folder in your project named "nbproject". Once you delete that, restart the IDE and you're good to go.
When you create a NetBeans project from existing sources, NetBeans uses the same directory to add its own files: a netbeans
folder with .proj files.
Solution: delete the netbeans
folder and restart the IDE. Opening a new project should now work.
- Go to the folder containing your project
- Delete the folder named
nbproject
- Restart Netbeans
- Try creating your project again from the original folder