title: Run javaEE from netbeans locally
body: <p>I am trying to run my javaEE site locally in Netbeans IDE. I believe I have everything set up correctly, but I am receiving the following error:</p>
  
  <blockquote>
    <p>Initializing... deploy?DEFAULT=C:\Documents and
    Settings\nicholasr\Desktop\Work Notes\temp code
    files\ASP\build\web&amp;name=ASP&amp;force=true <strong>failed on GlassFish Server 3.1
    Error occurred during deployment: Exception while deploying the app
    [ASP] : Servlet [Resource Servlet] and Servlet [Persistent Faces
    Servlet] have the same url pattern: [/xmlhttp/*].</strong> Please see
    server.log for more details. C:\Documents and
    Settings\nicholasr\Desktop\Work Notes\temp code
    files\ASP\nbproject\build-impl.xml:871:  The module has not been
    deployed.     at
    org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:187)
      at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)    at
    org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)     at
    org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)     at
    org.apache.tools.ant.Target.execute(Target.java:390)  at
    org.apache.tools.ant.Target.performTasks(Target.java:411)     at
    org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1368)    at
    org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1251)   at
    org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
      at
    org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
      at
    org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
    BUILD FAILED (total time: 58 seconds)</p>
  </blockquote>
  
  <p>I've done some searching on the net, but don't see any related links. Does anyone know why I would be getting this error and how it can be resolved? I can provide any additional information if needed. Thanks!</p>