@Bean
 public BeanNameViewResolver beanNameViewResolver() {
   BeanNameViewResolver beanNameViewResolver = new BeanNameViewResolver();
   beanNameViewResolver.setOrder(0);
   return beanNameViewResolver;
 }
 @Bean
 public BeanNameViewResolver beanNameViewResolver() {
   BeanNameViewResolver resolver = new BeanNameViewResolver();
   resolver.setOrder(Ordered.LOWEST_PRECEDENCE - 10);
   return resolver;
 }