NetBeans出现问题:“项目文件夹已存在且不为空”。

huangapple go评论70阅读模式
英文:

Issue with netbeans "Project Folder already exists and is not empty"

问题

在 Java 中使用 Ant 创建新项目 > Java 应用程序会显示错误消息:"项目文件夹已存在且不为空"。
我尝试过的方法:

  1. 重新安装 NetBeans、JDK
  2. 从 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

  1. Reinstall netbeans, jdk
  2. 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.

huangapple
  • 本文由 发表于 2020年10月13日 19:23:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/64334284.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定