Grails JAX-RS投掷错误

时间:2011-11-02 13:12:46

标签: grails jax-rs

我已经为grails安装了JAX-RS插件来创建休息服务。

安装完成后,我尝试使用以下命令创建资源类

“grails create-resource test”但是它会抛出以下错误

RequestStreamAdapter.groovy: 9: Can't have an abstract method in a non-abstract class. The class 'org.grails.jaxrs.support.RequestStreamAdapter' must be declared abstract or the method 'javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest, javax.servlet.ServletResponse)' must be implemented.
      [groovyc]  @ line 9, column 1.
      [groovyc]    class RequestStreamAdapter extends MockHttpServletRequest {
      [groovyc]    ^ 

0 个答案:

没有答案