找不到路径的子资源定位器/

che*_*tao 1 rest cxf

我正在编写一个简单的cxf配置的restful服务.但我一直得到这个错误"没有为路径/找到子资源定位器"的特定方法.虽然此方法正确映射了url并且能够获取参数,但是,总是抛出此错误并返回404.

小智 13

You might have forgotten to specify request type at the rest call, Check you have put proper annotations like @Get, @Post.. in your call or not.