You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
645 B
21 lines
645 B
|
7 years ago
|
package net.mingsoft;
|
||
|
|
|
||
|
|
import org.mybatis.spring.annotation.MapperScan;
|
||
|
|
import org.springframework.boot.SpringApplication;
|
||
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
||
|
|
import org.springframework.context.annotation.ComponentScan;
|
||
|
|
|
||
|
|
@SpringBootApplication
|
||
|
|
@ComponentScan(basePackages = {"com.mingsoft","net.mingsoft"})
|
||
|
|
@MapperScan(basePackages={"**.dao"})
|
||
|
|
@ServletComponentScan(basePackages = {"com.mingsoft","net.mingsoft"})
|
||
|
|
public class MSApplication {
|
||
|
|
|
||
|
|
public static void main(String[] args) {
|
||
|
|
SpringApplication.run(MSApplication.class, args);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|