完善注解2

This commit is contained in:
liuchengqian 2022-02-28 17:07:22 +08:00
parent 0a16db2bd1
commit ba081cec00
2 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,6 @@
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>

View File

@ -6,6 +6,7 @@ import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication @SpringBootApplication
//@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"}) //@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"})
@ComponentScan("com.xkrs.model.entity")
public class WordAndExcelApplication { public class WordAndExcelApplication {
public static void main(String[] args) { public static void main(String[] args) {