qingyang_zhang 5 月之前
父节点
当前提交
9fe0e17451

+ 8 - 8
app/workSheetSystem/pom.xml

@@ -104,23 +104,23 @@
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter-web</artifactId>
-              <exclusions>
-                  <exclusion>
-                      <groupId>org.springframework.boot</groupId>
-                      <artifactId>spring-boot-starter-tomcat</artifactId>
-                  </exclusion>
-              </exclusions>
+              <!--  <exclusions>
+                 <exclusion>
+                     <groupId>org.springframework.boot</groupId>
+                     <artifactId>spring-boot-starter-tomcat</artifactId>
+                 </exclusion>
+             </exclusions>-->
           </dependency>
         <!--  <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-tomcat</artifactId>
              <scope>provided</scope>
-         </dependency>-->
+         </dependency>
          <dependency>
              <groupId>org.springframework.boot</groupId>
              <artifactId>spring-boot-starter-undertow</artifactId>
             <scope>provided</scope>
-         </dependency>
+         </dependency>-->
 
          <dependency>
              <groupId>org.mybatis.spring.boot</groupId>

+ 2 - 7
app/workSheetSystem/src/main/java/com/qy/worksheetsystem/WorkSheetSystemApplication.java

@@ -1,18 +1,13 @@
 package com.qy.worksheetsystem;
 
 import org.mybatis.spring.annotation.MapperScan;
-import org.mybatis.spring.annotation.MapperScans;
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
+
 import org.springframework.boot.builder.SpringApplicationBuilder;
 import org.springframework.boot.web.servlet.ServletComponentScan;
 import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
-import org.springframework.cache.annotation.EnableCaching;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.servlet.config.annotation.CorsRegistry;
-import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
-import springfox.documentation.swagger2.annotations.EnableSwagger2;
+import javax.servlet.ServletContext;
 
 @ServletComponentScan
 @SpringBootApplication