fengxiang
2018-03-19 00d2837b0056d84394df6ebcb4e779698c283c0d
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();
    }
}