Subresource for target class has no jax-rs annotations
来源:互联网 发布:菠萝饭官方软件 编辑:程序博客网 时间:2024/05/01 00:14
Subresource for target class has no jax-rs annotations
Error: Subresource for target class has no jax-rs annotations.: classname that prevented it from fulfilling this request.
Context: @Path(“foo”) JAXRSAccount JAXRSAccounts.getAccount()
Resolution: Check that the sub-resource (JAXRSAccount) has at least one method with a @GET/POST/etc annotation.
And check it is declared as public.
这个错误表示没有找到@Method注释的方法,需要在对应的方法增加@GET或者@POST 等方法的注解。
来自:http://blog.2partsmagic.com/2009/04/subresource-for-target-class-has-no-jax-rs-annotations/
0 0
- Subresource for target class has no jax-rs annotations
- Unable to scan WEB-INF for JAX-RS annotations
- raml-for-jax-rs插件
- JAX-RS基础 for RESTful Web Service
- REST API Authenticator for JAX-RS
- Brief Introduction for jax-ws,jax -rs and iax-rpc
- No message body writer has been found for class
- class has no initializers
- JAX-RS
- JAX-RS
- JAX-RS
- JAX-RS
- JAX-RS
- JAX-RS
- JAX-RS
- JAX-RS
- JAX-RS
- jax-rs(Java API for RESTful Web Services) 实践教程 之一 —— 初探jax-rs
- Problem - 244B - Codeforces STL 中set的用法
- 预处理语句
- struts2中ServletActionContext.getRequest() 不是请求原来的request
- lcd接口
- C 语言中 typeof 关键字简介
- Subresource for target class has no jax-rs annotations
- NSStringg常用用法
- C语言~和>>运算符
- 段位结构体与补码、大小端
- 明星粉丝经济“叫好不叫座”?变现需找准“窍门儿”
- 第6周作业
- Ubuntu, Red Hat设置开机进入shell界面
- BGP 学习第一课
- 初识设计模式 chapter 08-模板方法模式