xufenglei
2018-03-26 8546724bd6847fd5ac0db6d451e74a31ca2d5532
src/main/java/com/moral/config/MvcConfiguration.java
@@ -3,9 +3,7 @@
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
import org.springframework.web.servlet.config.annotation.*;
import org.springframework.web.servlet.view.InternalResourceViewResolver;
@Configuration
@@ -23,6 +21,4 @@
            DefaultServletHandlerConfigurer configurer) {
        configurer.enable();
    }
}