Search code examples
netbeanspackageprojects

package folder already used in project netbeans


I am trying to create a new project in netbeans. But when I add folder in the projects it always throws error: "package folder already used in project netbeans".

I deleted all folders in c:/users/../.netbeans/6.9/var/.

Still I am getting the same issue. The error mentions a folder already packaged as some old package name, but that old package name is not available in my system folders. Can anyone please help me?


Solution

  • I found the solution: Actually my folder already contained a pom.xml file. Due to that it was not taking the new projects. I found this solution from this link.