【发布时间】:2016-02-23 06:45:42
【问题描述】:
你好我有一个jar rs方法如下
@GET
@Path("/versioning/{subjectid}")
@Produces("application/json")
其中 subjectid 是路径参数
当我使用以下请求调用服务时
/V6.0/xyz/versioning/001033918IN73804CáritaSTG
apache CXF会自动改成这个
/V6.0/xyz/versioning/001033918IN73804C%C3%A1ritaSTG
我假设 CXF 默认编码路径参数
但是我得到以下错误
2016-02-22 16:29:49,177 WARNING
[org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor] (http-127.0.0.1-8092-1) No root resource matching request path
有没有办法解决这个问题?
【问题讨论】:
-
也许这个答案会有所帮助:http://stackoverflow.com/questions...
标签: java apache rest jax-rs cxf