This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm trying to create a new web application with existing sources, using the Wizard. My app already has a WEB-INF project. The first screen of the wizard ('Add existing sources') reports an error at the bottom of the screen, saying 'Project Folder already contains "WEB-INF" folder'. If I delete the folder (or just it's contents) and try again I get past the first screen but then get an error on the second screen saying 'WEB-INF directory cannot be found in ....'
I guess that the first error message is shown because you want to create the project in the same location as your WEB-INF is placed which is not allowed. If you delete it, the second error is shown because without WEB-INF directory the project cannot be created correctly. Try to specify different location for your project and it should work.
That makes no sense to me - you appear to be saying that the directory has to be simultaneously present and absent. This problem disappeared when I blew away my $HOME/.netbeans project - could the problem be that if a project fails to create it leaves cruft under there that causes breakage if another attempt is made to create the project?
I wanted to say that project folder cannot be on the same level as WEB-INF folder.
It isn't, the WEB-INF directory was a subdirectory of the project directory.
Could you describe your source structure or attach a simple application to reproduce it with?
Probably could be solved by issue #89479.
Hopefully fixed by issue #64088.