mehandih / grails-jaxrs

Automatically exported from code.google.com/p/grails-jaxrs
0 stars 0 forks source link

Servlet API 3.0 not supported #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. grails create-app test
2. cd test
3. grails install-plugin tomcat
4. grails install-plugin /path/to/grails-jaxrs-0.5-m1-p1.zip
5. grails run-app

What is the expected output? What do you see instead?

Expected the app to start, instead got the following errors:
C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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 'boolean isAsyncSupported()' must be 
implemented.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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.http.Part 
getPart(java.lang.String)' must be implemented.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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 'java.util.Collection getParts()' must 
be implemented.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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 
getAsyncContext()' must be implemented.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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.DispatcherType 
getDispatcherType()' must be implemented.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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()' must be implemented.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

C:\Users\Dror\.grails\2.0.0\projects\test\plugins\jaxrs-0.5-m1\src\groovy\org\gr
ails\jaxrs\support\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 'boolean isAsyncStarted()' must be 
implemented.
 @ line 9, column 1.
   class RequestStreamAdapter extends MockHttpServletRequest {
   ^

What version of the product are you using? On what operating system?
Windows 7 Pro 64bit, Grails 2.0.0, grails-jaxrs-0.5-m1-p1

Original issue reported on code.google.com by dr...@jfrog.com on 9 Jan 2012 at 12:30

GoogleCodeExporter commented 8 years ago
Use the latest development snapshot

Original comment by krass...@googlemail.com on 9 Jan 2012 at 1:52