|
@@ -2,9 +2,8 @@ package cn.com.qmth.examcloud.core.examwork.starter;
|
|
|
|
|
|
import cn.com.qmth.examcloud.core.examwork.base.enums.ExamProperty;
|
|
import cn.com.qmth.examcloud.core.examwork.base.enums.ExamProperty;
|
|
import cn.com.qmth.examcloud.core.examwork.dao.UniqueRuleHolder;
|
|
import cn.com.qmth.examcloud.core.examwork.dao.UniqueRuleHolder;
|
|
-import cn.com.qmth.examcloud.web.bootstrap.AppBootstrap;
|
|
|
|
import cn.com.qmth.examcloud.web.jpa.DataIntegrityViolationTransverter;
|
|
import cn.com.qmth.examcloud.web.jpa.DataIntegrityViolationTransverter;
|
|
-import cn.com.qmth.examcloud.web.support.SpringContextHolder;
|
|
|
|
|
|
+import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
|
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
|
|
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
|
|
@@ -49,20 +48,8 @@ public class CoreExamWorkApp {
|
|
* @author WANGWEI
|
|
* @author WANGWEI
|
|
*/
|
|
*/
|
|
public static void main(String[] args) throws Exception {
|
|
public static void main(String[] args) throws Exception {
|
|
- //test 再次测试git文件,配合测试20200928004
|
|
|
|
- AppBootstrap.run(CoreExamWorkApp.class, args);
|
|
|
|
-
|
|
|
|
- test();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 测试方法
|
|
|
|
- *
|
|
|
|
- * @author WANGWEI
|
|
|
|
- */
|
|
|
|
- private static void test() {
|
|
|
|
- Tester tester = SpringContextHolder.getBean(Tester.class);
|
|
|
|
- tester.test();
|
|
|
|
|
|
+ // AppBootstrap.run(CoreExamWorkApp.class, args);
|
|
|
|
+ SpringApplication.run(CoreExamWorkApp.class, args);
|
|
}
|
|
}
|
|
|
|
|
|
@Bean(name = "multipartResolver")
|
|
@Bean(name = "multipartResolver")
|