lxw
2023-02-21 24bd7f9d2d4dd24f3c4b75972733a2c9cf03bddf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.whyc;
 
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
@ServletComponentScan(basePackages = {"com.whyc.filter","com.whyc.servlet"})
public class CadDrawManagerApplication extends WebMvcConfigurerAdapter implements WebMvcConfigurer {
 
    public static void main(String[] args) {
        SpringApplication.run(CadDrawManagerApplication.class, args);
    }
 
}