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 ple开发者_开发技巧ase help me?
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.
If your existing project folder contains a sub folder called "nbproject" . Delete the folder and then add it .The folder contains files regarding previous net-beans related project settings. I am importing in Net-beans 7.2 from an earlier version.
I had this problem and used all of the mentioned way but could not solve it. I change the name of folder that want to add and now it work properly.
精彩评论