0

に移動するときhttp://localhost:8080/MyApp/services/listServices

利用可能なサービスのリストを取得します。

しかし、私が行くとき: http://localhost:8080/MyAPp/services

代わりにエラーが発生します。

<Exception>org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /MyApp/services&#xd;
at org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)&#xd;
at org.apache.axis2.engine.Phase.invoke(Phase.java:333)&#xd;
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)&#xd;
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)&#xd;
at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:136)&#xd;
at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)&#xd;
at org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:829)&#xd;
at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:255)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)&#xd;
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)&#xd;
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)&#xd;
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)&#xd;
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)&#xd;
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)&#xd;
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)&#xd;
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)&#xd;
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)&#xd;
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)&#xd;
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)&#xd;
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)&#xd;
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)&#xd;
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)&#xd;
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)&#xd;
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)&#xd;
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)&#xd;
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)&#xd;
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)&#xd;
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)&#xd;
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)&#xd;
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)&#xd;
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)&#xd;
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)&#xd;
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)&#xd;
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)&#xd;
at java.lang.Thread.run(Thread.java:662)&#xd;

これは単純な構成の問題であると確信していますが、何が起こっているのか理解できないようです (私はこの問題に本当に慣れていません)。

誰かが私を正しい方向に向けることができますか?

4

0 に答える 0