英文:
Issue with netbeans "Project Folder already exists and is not empty"
问题
在 Java 中使用 Ant 创建新项目 > Java 应用程序会显示错误消息:"项目文件夹已存在且不为空"。
我尝试过的方法:
- 重新安装 NetBeans、JDK
- 从 netbeansproject 文件夹中删除文件
这些方法似乎都不起作用。
请给予建议,谢谢。
英文:
Creating new project under Java with ant > java application will have the error message "Project Folder already exists and is not empty".
Things I have attempted
- Reinstall netbeans, jdk
- Deleting off files from netbeansproject folders
None of these seems to work
Please advise thanks
答案1
得分: 1
检查您的C:\Users......\OneDrive\Documents\NetBeansProjects文件夹,查找名为'ant'的文件夹并将其删除,或者从NetBeans的工作区中删除该项目。
还可以尝试使用其他名称创建一个新项目,然后检查是否可以正常工作。
如果这些方法都不奏效,可能是您的JDK安装或更新出了问题。
英文:
Check in your C:\Users......\OneDrive\Documents\NetBeansProjects folder for 'ant' folder and delete it or delete the project from the workspace of NetBeans.
Also try to make a new project under some other name and check if that works.
If these don't work, maybe you JDK didn't get installed or updated properly.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论