From ba081cec001b3e410ad68dc4e87459a455e7d12d Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Mon, 28 Feb 2022 17:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=B3=A8=E8=A7=A32?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 - src/main/java/com/xkrs/WordAndExcelApplication.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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) {