whyclxw
2025-03-31 b46f7fa6d77852ae9e28a062da234a2ddf9405fb
src/main/java/com/whyc/ResMeterManagerApplication.java
@@ -4,11 +4,13 @@
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
@ServletComponentScan(basePackages = {"com.whyc.filter"})
public class ResMeterManagerApplication {
public class ResMeterManagerApplication extends WebMvcConfigurerAdapter implements WebMvcConfigurer {
    public static void main(String[] args) {
        SpringApplication.run(ResMeterManagerApplication.class, args);