Preloader
Web development
  • Estimated reading time: 1 Minute

How to solve NetBeans project creation issue: Sources folder is already NetBeans project (maybe only in memory)

How to solve NetBeans project creation issue: Sources folder is already NetBeans project (maybe only in memory)

When you work with PHP in NetBeans, one of the most useful features of this IDE is the implementation of multiple tools like Git, SVN and other features that really boost your productivity when working on this platform. Everything in NetBeans is based on a Project level, where if you want to work on a directory, this directory must be a NetBeans project.

A NetBeans project is defined by the existence of the nbproject directory. In the mentioned directory, NetBeans will find information and preferences that are stored when you work on your project. The issue that we meant to solve in this article, is the famous:

Sources folder is already in NetBeans project (maybe only in memory).

In this article, we'll explain why this happens and how to solve this issue quickly.

Solution

This message appears only when you try to create a new project when the selected directory is already a NetBeans project. So if you don't want to reconfigure it, open the project instead of creating it.

Alternatively, if you still want to create it as a new project, delete the nbproject directory of the folder that you want to work with and restart netbeans (very important, otherwise the project will be kept in memory and the message will appear again). After following those steps, you will be able to create a project normally again.

Happy coding !

Share:
Carlos Delgado

Carlos Delgado

Senior Software Engineer at Software Medico. Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.

Related articles
WordPress vs Custom Website: Which is Better for Your Business?
23 Apr, 2026
  • Estimated reading time: 5 Minutes
Guidelines To Follow In Test Case Writing
4 Mar, 2026
  • Estimated reading time: 4 Minutes
How to Build a Secure Authentication System in a Web Application
27 Feb, 2026
  • Estimated reading time: 5 Minutes
The Ultimate Guide to Finding a Skilled Mobile App Developer Dubai
3 Feb, 2026
  • Estimated reading time: 5 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.