It seems that there is no autowire for the @context defined in the sub-resources.
I have a sub-resource which has two @Context fields
protected @Context HttpContext hc;
protected @Context ServletContext servletContext;
When debugging, I can see both hc and servletContext are null.
Did I miss anything here?
Thanks a lot,
Kevin