Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 803
Nagarajan Avatar asked Sep 26 '11 07:09

Nagarajan


2 Answers

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.

like image 200
Nagarajan Avatar answered Nov 27 '22 10:11

Nagarajan


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.

like image 27
Pratik Roy Avatar answered Nov 27 '22 11:11

Pratik Roy