This content has been marked as final.
Show 1 reply
-
1. Re: test resteasy interface throws exception "Unable to find contextual data of type"
allen0517 Jul 21, 2017 5:41 AM (in response to mlybarger)Even i had the same issue, fixed it temporarily by changing class level declaration to method level declaration
Example :
Changed From :
Class A {
@Context
Private HTTPServletRequest request;
.
.
.
}
To
Class A {
Public void getData(@Context HTTPServletRequest request) {
}
}
Hope this might help for someone