RestEasy请求服务时报错

2013-06-08 16:47:10,197 [http-bio-8080-exec-23] DEBUG [org.jboss.resteasy.core.SynchronousDispatcher] - PathInfo: /security/user/find/all
 2013-06-08 16:47:10,207 [http-bio-8080-exec-23] DEBUG [org.jboss.resteasy.core.ExceptionHandler] - Failed executing POST /security/user/find/all
 org.jboss.resteasy.spi.MethodNotAllowedException: No resource method found for POST, return 405 with Allow header
	at org.jboss.resteasy.core.registry.Segment.match(Segment.java:112)
	at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:33)
	at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:327)
	at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:44)
	at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:327)
	at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:44)
	at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:327)
	at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:44)
	at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:327)
	at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:374)
	at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:367)
	at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:354)
	at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:231)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:170)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)

你可能感兴趣的:(resteasy)