| | |
| | | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| | | 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(exclude=DataSourceAutoConfiguration.class ) |
| | | @SpringBootApplication |
| | | @ServletComponentScan(basePackages = {"com.lxw.test3d.filter"}) |
| | | public class Test3dApplication { |
| | | public class Test3dApplication extends WebMvcConfigurerAdapter implements WebMvcConfigurer { |
| | | |
| | | public static void main(String[] args) { |
| | | SpringApplication.run(Test3dApplication.class, args); |