Use an EmptyViewResolver when ViewResolverRegistry is empty

Issue: SPR-12013