title: Java and GlassFish Deployment error: Project is currently archive deployed
body: <p>When I run my web application NetBeans gives me this error:</p>
  
  <pre><code>C:\Users\Gamer\Documents\NetBeansProjects\MyWebApp\nbproject\build-impl.xml:1045: Deployment error: Project is currently archive deployed. Undeploy this project and redeploy it to take advantage of directory deployment.
  See the server log for details.
  </code></pre>
  
  <p>I did redeploy and still same</p>
  
  <p>The code on the 1045th row is: </p>
  
  <pre><code>&lt;nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/&gt;
  </code></pre>
  
  <p>The app is deployed on the GlassFish server but I don't know what's archive deployed.</p>