diff --git a/pom.xml b/pom.xml index 41260f0..2af2ca0 100644 --- a/pom.xml +++ b/pom.xml @@ -163,7 +163,6 @@ - org.springframework.boot diff --git a/src/main/java/com/xkrs/WordAndExcelApplication.java b/src/main/java/com/xkrs/WordAndExcelApplication.java index ed97437..d774945 100644 --- a/src/main/java/com/xkrs/WordAndExcelApplication.java +++ b/src/main/java/com/xkrs/WordAndExcelApplication.java @@ -6,6 +6,7 @@ import org.springframework.context.annotation.ComponentScan; @SpringBootApplication //@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"}) +@ComponentScan("com.xkrs.model.entity") public class WordAndExcelApplication { public static void main(String[] args) {