File tree Expand file tree Collapse file tree
simple-application/src/main/java/top/cadecode/sra Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import org .mybatis .spring .annotation .MapperScan ;
44import org .springframework .boot .SpringApplication ;
55import org .springframework .boot .autoconfigure .SpringBootApplication ;
6+ import org .springframework .boot .autoconfigure .jdbc .DataSourceAutoConfiguration ;
67import org .springframework .boot .builder .SpringApplicationBuilder ;
78import org .springframework .boot .web .servlet .support .SpringBootServletInitializer ;
89import org .springframework .context .annotation .ComponentScan ;
1617@ ComponentScan ("top.cadecode" )
1718@ MapperScan ("top.cadecode.**.mapper" )
1819@ EnableAspectJAutoProxy (exposeProxy = true )
19- @ SpringBootApplication
20+ @ SpringBootApplication ( exclude = DataSourceAutoConfiguration . class )
2021public class Application extends SpringBootServletInitializer {
2122
2223 public static void main (String [] args ) {
You can’t perform that action at this time.
0 commit comments