src/main/java/com/whyc/EnvirMonitorSysApplication.java
@@ -3,9 +3,11 @@ 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; @SpringBootApplication @ServletComponentScan(basePackages = {"com.whyc.filter"}) @EnableWebMvc @ServletComponentScan public class EnvirMonitorSysApplication { public static void main(String[] args) {