1
I downloaded a Java web project and imported it to netbeans
,when all the imported project with all its libraries were in its proper place along with the archive web.xml
(within WEB-INF), I ran the project and it started the tomcat
and in the browser the application worked satisfactorily! So far so good! But when I try to clean and build the project in the IDE
netbeans
it indicates an error saying that you cannot delete the directory build
!!
The project respected the folder hierarchy of a web application, as illustrated in the figure below:
The below follows the erro
that IDE informs:
Deleting directory C: Users User Documents Netbeansprojects Simplejspservletdb-master build
C: Users User Documents Netbeansprojects Simplejspservletdb-master projects build-impl.xml:1439: Unable to delete file C: Users User Documents Netbeansprojects Simplejspservletdb-master projects build web WEB-INF classes db.properties
CONSTRUCTION FAILURE (total time: 6 seconds)
I can only delete manually ,but for that I have to close Ide !! Then when I open ide and I have clean and build it does without any problem.
– Pena Pintada
It’s not a question of permission? edit the question and put the error message.
– rray
rray ,I found out what the error was, it was the application’s descriptor, the web.xml file. I just edited it and everything went right!!
– Pena Pintada