FWIW, I can replicate the problem after creating an archetype 27 project, adding a line@Reference
ResourceResolverFactory resourceResolverFactory;line in the sample serlvet. Then in the sample test code, mock an instance of the ResourceResolverFactory register the service with the AemContext then ru...