ct 2 viikkoa sitten
vanhempi
commit
c0322580cf
2 muutettua tiedostoa jossa 64 lisäystä ja 5 poistoa
  1. 54 5
      fs-admin/pom.xml
  2. 10 0
      fs-framework/pom.xml

+ 54 - 5
fs-admin/pom.xml

@@ -16,6 +16,12 @@
     </description>
     </description>
 
 
     <dependencies>
     <dependencies>
+        <!-- Spring 5.3 @Resource.lookup() 需要 javax.annotation-api 1.3+,勿用 tomcat 6.0.53 旧包 -->
+        <dependency>
+            <groupId>javax.annotation</groupId>
+            <artifactId>javax.annotation-api</artifactId>
+        </dependency>
+
         <!-- 验证码 -->
         <!-- 验证码 -->
         <dependency>
         <dependency>
             <groupId>com.github.penggle</groupId>
             <groupId>com.github.penggle</groupId>
@@ -25,17 +31,33 @@
                     <artifactId>javax.servlet-api</artifactId>
                     <artifactId>javax.servlet-api</artifactId>
                     <groupId>javax.servlet</groupId>
                     <groupId>javax.servlet</groupId>
                 </exclusion>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
             </exclusions>
             </exclusions>
         </dependency>
         </dependency>
 
 
         <dependency>
         <dependency>
             <groupId>com.github.javen205</groupId>
             <groupId>com.github.javen205</groupId>
             <artifactId>IJPay-All</artifactId>
             <artifactId>IJPay-All</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
             <groupId>com.alipay.sdk</groupId>
             <groupId>com.alipay.sdk</groupId>
             <artifactId>alipay-sdk-java</artifactId>
             <artifactId>alipay-sdk-java</artifactId>
             <version>4.8.62.ALL</version>
             <version>4.8.62.ALL</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
 
 
         <!-- spring-boot-devtools -->
         <!-- spring-boot-devtools -->
@@ -59,6 +81,10 @@
                     <groupId>javax.annotation</groupId>
                     <groupId>javax.annotation</groupId>
                     <artifactId>annotations-api</artifactId>
                     <artifactId>annotations-api</artifactId>
                 </exclusion>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
             </exclusions>
             </exclusions>
         </dependency>
         </dependency>
 
 
@@ -68,6 +94,12 @@
         <dependency>
         <dependency>
             <groupId>com.fs</groupId>
             <groupId>com.fs</groupId>
             <artifactId>fs-quartz</artifactId>
             <artifactId>fs-quartz</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
         <!-- lombok -->
         <!-- lombok -->
         <dependency>
         <dependency>
@@ -80,6 +112,12 @@
         <dependency>
         <dependency>
             <groupId>com.fs</groupId>
             <groupId>com.fs</groupId>
             <artifactId>fs-generator</artifactId>
             <artifactId>fs-generator</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
         <!-- swagger2-->
         <!-- swagger2-->
         <dependency>
         <dependency>
@@ -90,6 +128,12 @@
             <groupId>com.clickhouse</groupId>
             <groupId>com.clickhouse</groupId>
             <artifactId>clickhouse-jdbc</artifactId>
             <artifactId>clickhouse-jdbc</artifactId>
             <version>0.4.6</version>
             <version>0.4.6</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
         <!-- swagger2-UI-->
         <!-- swagger2-UI-->
         <dependency>
         <dependency>
@@ -115,6 +159,10 @@
                     <groupId>com.squareup.okhttp</groupId>
                     <groupId>com.squareup.okhttp</groupId>
                     <artifactId>okhttp</artifactId>
                     <artifactId>okhttp</artifactId>
                 </exclusion>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
             </exclusions>
             </exclusions>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
@@ -127,11 +175,12 @@
             <groupId>com.qcloud</groupId>
             <groupId>com.qcloud</groupId>
             <artifactId>qcloud-java-sdk</artifactId>
             <artifactId>qcloud-java-sdk</artifactId>
             <version>2.0.1</version>
             <version>2.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>com.clickhouse</groupId>
-            <artifactId>clickhouse-jdbc</artifactId>
-            <version>0.4.6</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
         <dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <groupId>org.springframework.boot</groupId>

+ 10 - 0
fs-framework/pom.xml

@@ -44,6 +44,10 @@
                     <artifactId>javax.servlet-api</artifactId>
                     <artifactId>javax.servlet-api</artifactId>
                     <groupId>javax.servlet</groupId>
                     <groupId>javax.servlet</groupId>
                 </exclusion>
                 </exclusion>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
             </exclusions>
             </exclusions>
         </dependency>
         </dependency>
 
 
@@ -56,6 +60,12 @@
         <dependency>
         <dependency>
             <groupId>com.fs</groupId>
             <groupId>com.fs</groupId>
             <artifactId>fs-service</artifactId>
             <artifactId>fs-service</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.tomcat</groupId>
+                    <artifactId>annotations-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
 
 
     </dependencies>
     </dependencies>