You figure importing a non-Eclipse project into Eclipse was easy, so is NetBeans. Ironic but when I tried to do so in NetBeans, it took me some time to figure it out.

To do so, just go to File menu and select New Project.


Under “Categories” select “Java”

Under “Projects” select “Java Project with Existing Sources”

Then set the folder where your source files are located.

That’s it!

If you encounter this problem in Netbeans, chances are you enabled the option “Compile on Save”. I do not know why this occurs because there are some cases where I enable this problem and I do not encounter the same error.

To do so, do the following:

  • Right click project name, choose Properties
  • Go to Build > Compiling
  • Click “Compile on Save”

That should do the trick.

Related Posts Plugin for WordPress, Blogger...