20 lines
697 B
Java
20 lines
697 B
Java
package com.xkrs;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@SpringBootApplication
|
|
//@ComponentScan(basePackages = {"com.xkrs.model.entity", "com.xkrs.controller", "com.xkrs.service"})
|
|
//@ComponentScan("com.xkrs.model.entity.*")
|
|
@EntityScan("com.xkrs.model.entity.*")
|
|
public class WordAndExcelApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(WordAndExcelApplication.class, args);
|
|
}
|
|
|
|
}
|