whyclxw
2024-02-29 0ddeae63c5ec1397b3cac2664e25b97ae2218568
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.lxw.test3d;
 
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;
 
@EnableWebMvc
@SpringBootApplication
@ServletComponentScan(basePackages = {"com.lxw.test3d.filter"})
public class Test3dApplication extends WebMvcConfigurerAdapter implements WebMvcConfigurer {
 
    public static void main(String[] args) {
        SpringApplication.run(Test3dApplication.class, args);
    }
 
}