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); } }