Netbeans IDE에서 javaEE 사이트를 로컬로 실행하려고합니다. 나는 모든 것이 제대로 설정이 생각하지만, 나는 다음과 같은 오류를 수신하고 있습니다 :netbeans에서 javaEE를 로컬로 실행하십시오.
Initializing... deploy?DEFAULT=C:\Documents and Settings\nicholasr\Desktop\Work Notes\temp code files\ASP\build\web&name=ASP&force=true 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/*]. 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)
내가 그물에 몇 가지 검색을 수행했지만, 어떤 관련 링크가 표시되지 않습니다. 아무도 내가 왜이 오류가 발생하고 어떻게 해결할 수 있는지 알고 있습니까? 필요한 경우 추가 정보를 제공 할 수 있습니다. 감사!
아아, 방금 말씀하신 것처럼 web.xml에서 찾았습니다. 그러나 ICEfaaces 1.8.x를 사용하고 있으므로 "Resource Servlet"을 제거했습니다. 이제 새로운 오류가 발생했습니다. D –
반갑습니다. 새로운 질문/문제에 관해서는, 새로운 질문/문제가있을 때마다 오른쪽 상단에있는 '질문 질문'버튼을 누르면됩니다. 힌트 : 클래스 패스에 그 클래스가 없다. (분명히 필요 없다. ''항목을 삭제하는 것을 잊지 않았 니?) –
BalusC
필요 없다. 나는 꽤 확신한다. –