开发者

RESTEasy client works stand-alone but fails within Tomcat

开发者 https://www.devze.com 2023-01-13 23:48 出处:网络
I have with me the client interface for a web service that was built using JBoss/RESTeasy. The web service calls work fine when they are invoked from a stand-alone app, but as soon as I put them into

I have with me the client interface for a web service that was built using JBoss/RESTeasy. The web service calls work fine when they are invoked from a stand-alone app, but as soon as I put them into a webapp running in a Tomcat container (on the same machine), they start behaving weirdly. Some of the calls return empty results while some others simply fail with this exception:

org.jboss.resteasy.开发者_Python百科client.ClientResponseFailure: Error status 404 Not Found returned

Any idea of what might be going on? Could this be a result of a library conflict? All the required client libraries are in the WEB-INF/lib directory of the webapp.


Seems that your services are not deployed properly. Take a look at your catalina.out or some other logs for more details.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号