whycxzp
2025-01-13 6f1a421696df24fcfcdcbd45e0cb8b15c79b47f6
src/main/java/com/whyc/App.java
@@ -5,8 +5,6 @@
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
/**
 * @Description : 启动类
@@ -16,7 +14,7 @@
@EnableWebMvc
@ServletComponentScan(basePackages = {"com.whyc.filter","com.whyc.servlet","com.whyc.listener"})
@EnableCaching
public class App extends WebMvcConfigurerAdapter  implements WebMvcConfigurer {
public class App  {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);