Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top