首页>代码>springBoot+mybatis+vue+html5+apacheFTP+element-ui+layui实现页面多附件上传FTP服务器、下载及文件预览>/TestProject/target/classes/com/test/TestProjectApplication.java
package com.test; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @ComponentScan(basePackages = {"com.test.**"}) @MapperScan(basePackages = {"com.test.**.dao"}) public class TestProjectApplication extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { return application.sources(TestProjectApplication.class); } public static void main(String[] args) { SpringApplication.run(TestProjectApplication.class, args); } }