title: Deployment error webapplication project netbeans and glass fish
body: <p>i created my first web application project, with NetBeans 8.0.2 on glassfish server 4.1
  when i try to deploy it display the following output</p>
  
  <p>Starting GlassFish Server 4.1
  GlassFish Server 4.1 is running.
  In-place deployment at C:\Users\Mohamed\Documents\NetBeansProjects\WebApplication1\build\web
  GlassFish Server 4.1, deploy, null, false
  C:\Users\Mohamed\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:1050: The module has not been deployed.
  See the server log for details.
  BUILD FAILED (total time: 54 seconds)</p>
  
  <p>when i click on the link of the error it points to this line of code in the build-imp.xml</p>
  
  <p>nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/></p>
  
  <p>i tried the following:</p>
  
  <ul>
  <li>i made netbeans IDE run as administrator</li>
  <li>i played around with proxy settings still same error</li>
  <li>also when i try to clean and build my app this error occurs</li>
  </ul>
  
  <p>Deleting directory C:\Users\Mohamed\Documents\NetBeansProjects\WebApplication1\build
  C:\Users\Mohamed\Documents\NetBeansProjects\WebApplication1\nbproject\build-impl.xml:1429: Unable to delete file C:\Users\Mohamed\Documents\NetBeansProjects\WebApplication1\build\web\WEB-INF\lib\spring-web-4.0.1.RELEASE.jar
  BUILD FAILED (total time: 2 seconds)</p>
  
  <p>appreciate if u can tell me how to debug this</p>
  
  <p>Thanks</p>