Netbeans error: Project Folder already exists and is not empty

回眸只為那壹抹淺笑 提交于 2019-12-22 10:34:18

问题


I installed Netbeans , because I am reading the book : Java in 21 days. I'm a complete novice in the world of programming. When I try to open a new project in Netbeans , I get the error : Project Folder already exists and is not empty . Deleting the nbproject folder and restarting the IDE doesn't solve this problem. Can anybody help me?


回答1:


I have NetBeans 7.3.1 installed on a mac (10.8.4) and it works flawlessly. I do recall having a similar issue, however, when trying to create a project into a directory I thought was empty (it wasn't...). For me it was just a matter of deleting the project directory. For you, I found the same answer while Googling as @striders. If you are using mac, there won't be a ".netbeans" folder containing the "userdir"; rather, the directory is ~/Library/Application\ Support/NetBeans/7.2. I understand "7.2" to be the "userdir". So if the solution is to have NetBeans recreate this directory, simply delete it and relaunch. I tested the deletion of this folder, and NetBeans does create it on start up.

http://wiki.netbeans.org/FaqWhatIsUserdir (info on the directory...)

http://forums.netbeans.org/post-59080.html (someone said this worked...)

Cheers



来源:https://stackoverflow.com/questions/17763388/netbeans-error-project-folder-already-exists-and-is-not-empty

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!