Writes that the "package folder is already used in the project"

I cleaned the IDE project folder with my hands, reinstalled NetBeans, transferred the folder to another directory on my hard drive. Where to dig yet?

  • one
    Look at your other searchlights in which of them this folder is used. If you can try to delete the netbins cache: C: \ Users \ <username> \ AppData \ Local \ NetBeans \ Cache \ 8.1 \ - Sergey
  • Damn, the same result. - RVG
  • Browse the files in the nbproject nbproject your project for the presence of your directory. Building a project with ant ? maven ? Check the pom.xml file if maven . In extreme cases, create a new project and drag your source code there - Chubatiy

1 answer 1

I had such a trap, decided to be banal - just closed Netbeans, deleted everything from the old directory, launched Netbeans and opened the project in a new one. All the problem was solved.