lxw
2022-09-20 c36210f961aa55a0e8558e16f96c07e2fbe5d9aa
src/main/java/com/whyc/ResMeterManagerApplication.java
@@ -2,11 +2,15 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
@SpringBootApplication
@EnableWebMvc
public class ResMeterManagerApplication {
@ServletComponentScan(basePackages = {"com.whyc.filter"})
public class ResMeterManagerApplication extends WebMvcConfigurerAdapter implements WebMvcConfigurer {
    public static void main(String[] args) {
        SpringApplication.run(ResMeterManagerApplication.class, args);