mehandih / grails-jaxrs

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

doesn't work with Grails 2.0.0 #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Upgrade application to 2.0.0
2.install jaxrs
3.try to run the application

What is the expected output? What do you see instead?
I see the following trace:
D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

D:\Projects\v3\core - 
Copy\lib\jaxrs-0.4\src\groovy\org\grails\jaxrs\support\RequestStreamAdapter.groo
vy: 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 {
   ^

8 errors

What version of the product are you using? On what operating system?
Grails 2.0.0 jaxrs 0.4

Please provide any additional information below.

Original issue reported on code.google.com by nisabek on 16 Dec 2011 at 8:59

GoogleCodeExporter commented 8 years ago
That's fixed in the latest snapshot. Build the plugin yourself from the latest 
sources.

Original comment by krass...@googlemail.com on 16 Dec 2011 at 12:29

GoogleCodeExporter commented 8 years ago
Issue 55 has been merged into this issue.

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

GoogleCodeExporter commented 8 years ago
Issue 56 has been merged into this issue.

Original comment by krass...@googlemail.com on 13 Jan 2012 at 7:30