zy il y a 2 ans
Parent
commit
74346473f6

+ 5 - 4
neim-biz/pom.xml

@@ -51,18 +51,18 @@
             <artifactId>spring-boot-devtools</artifactId>
             <optional>true</optional> <!-- 表示依赖不会传递 -->
         </dependency>
-<!--        swagger-->
+        <!--        swagger-->
         <dependency>
             <groupId>io.springfox</groupId>
             <artifactId>springfox-boot-starter</artifactId>
         </dependency>
-<!--        modbus-->
+        <!--        modbus-->
         <dependency>
             <groupId>wei.yigulu</groupId>
             <artifactId>protocol-modbus</artifactId>
             <version>1.2.11</version>
         </dependency>
-<!--        mongo-->
+        <!--        mongo-->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-data-mongodb</artifactId>
@@ -111,7 +111,8 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
-            <!-- 插件maven-clean-plugin,用于在编译前,清除之前编译的文件、文件夹等,避免残留之前的内容 -->
+
+            <!--             插件maven-clean-plugin,用于在编译前,清除之前编译的文件、文件夹等,避免残留之前的内容 -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-clean-plugin</artifactId>

+ 1 - 1
neim-biz/src/main/java/com/jiayue/biz/job/AirDensityJob.java

@@ -182,7 +182,7 @@ public class AirDensityJob {
         }
     }*/
 
-    //    @Scheduled(cron = "0 0 15 * * ?")
+    @Scheduled(cron = "0 0 15 * * ?")
     public void AirDensityCalculation() {
         List<WindTowerInfo> windTowerInfoList = windTowerInfoService.list();
         // 统计概述信息

+ 113 - 0
neim-biz/src/main/java/com/jiayue/biz/job/FileAnalysisJob.java

@@ -1,13 +1,28 @@
 package com.jiayue.biz.job;
 
+import cn.hutool.core.collection.ListUtil;
+import cn.hutool.core.date.DateUtil;
+import com.jiayue.biz.domain.ProphaseAnemometryData;
+import com.jiayue.biz.domain.ProphaseWeatherData;
+import com.jiayue.biz.domain.WindTowerInfo;
+import com.jiayue.biz.mapper.ProphaseAnemometryDataMapper;
+import com.jiayue.biz.mapper.ProphaseWeatherDataMapper;
+import com.jiayue.biz.service.WindTowerDataParentTableService;
+import com.jiayue.biz.service.WindTowerInfoService;
 import com.jiayue.biz.service.impl.AnalysisDataImpl;
 import com.jiayue.biz.service.impl.EmailImpl;
+import com.jiayue.biz.util.CalculationUtil;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.scheduling.annotation.EnableScheduling;
 import org.springframework.scheduling.annotation.Scheduled;
 import org.springframework.stereotype.Service;
 
+import java.math.RoundingMode;
+import java.sql.Timestamp;
+import java.util.*;
+import java.util.stream.Collectors;
+
 /**
  * 定时扫描系统邮件并解析
  *
@@ -23,6 +38,18 @@ public class FileAnalysisJob {
     private final EmailImpl emailImpl;
     @Autowired
     AnalysisDataImpl analysisData;
+    @Autowired
+    WindTowerInfoService windTowerInfoService;
+    @Autowired
+    WindTowerDataParentTableService windTowerDataParentTableService;
+
+    @Autowired
+    ProphaseAnemometryDataMapper prophaseAnemometryDataMapper;
+
+    @Autowired
+    ProphaseWeatherDataMapper prophaseWeatherDataMapper;
+
+
 
     public FileAnalysisJob(EmailImpl emailImpl) {
         this.emailImpl = emailImpl;
@@ -49,5 +76,91 @@ public class FileAnalysisJob {
 
     }
 
+    @Scheduled(cron = "0 20 16 21 4 ? ")
+    public void testNew() {
+        List<WindTowerInfo> list1 = windTowerInfoService.lambdaQuery().list();
+        List<WindTowerInfo> collect = list1.stream().filter(w -> w.getType().equals("1")).collect(Collectors.toList());
+        for (WindTowerInfo windTowerInfo : collect) {
+            Date date = new Date(1606752000000l);
+            String equipmentId = windTowerInfo.getEquipmentNo();
+//            List<WindTowerInfo> list = windTowerInfoService.lambdaQuery().eq(WindTowerInfo::getEquipmentNo, equipmentId).list();
+            HashSet<String> dataSet = new HashSet<>();
+            String heights = windTowerInfo.getHeights();
+            String wdHeights = windTowerInfo.getWdHeights();
+            dataSet.addAll(Arrays.asList(heights.split(",")));
+            dataSet.addAll(Arrays.asList(wdHeights.split(",")));
+            for (long i = date.getTime(); i < 1680278400000l; i = DateUtil.offsetMonth(new Date(i), 1).getTime()) {
+                long l = DateUtil.offsetMonth(new Date(i), 1).getTime();
+                List<Map<String, Object>> mapList = windTowerDataParentTableService.selectByBetweenTimeAndEquipmetIdOld(new Date(i), new Date(l), equipmentId);
+                if (mapList.size() > 0) {
+                    ArrayList<ProphaseWeatherData> prophaseAnemometryPublicDataArrayList = new ArrayList<>();
+                    for (Map<String, Object> map : mapList) {
+
+                        //公共部分
+                        ProphaseWeatherData prophaseAnemometryPublicData = new ProphaseWeatherData();
+                        prophaseAnemometryPublicData.setTs(new Timestamp(Long.parseLong(map.get("time").toString())));
+                        prophaseAnemometryPublicData.setTInst(!map.containsKey("t_inst") ? null : Float.parseFloat(map.get("t_inst").toString()));
+                        prophaseAnemometryPublicData.setTAve(!map.containsKey("t_ave") ? null : Float.parseFloat(map.get("t_ave").toString()));
+                        prophaseAnemometryPublicData.setTMax(!map.containsKey("t_max") ? null : Float.parseFloat(map.get("t_max").toString()));
+                        prophaseAnemometryPublicData.setTMin(!map.containsKey("t_min") ? null : Float.parseFloat(map.get("t_min").toString()));
+                        prophaseAnemometryPublicData.setTSta(!map.containsKey("t_sta") ? null : Float.parseFloat(map.get("t_sta").toString()));
+
+                        prophaseAnemometryPublicData.setRhInst(!map.containsKey("rh_inst") ? null : Float.parseFloat(map.get("rh_inst").toString()));
+                        prophaseAnemometryPublicData.setRhAve(!map.containsKey("rh_ave") ? null : Float.parseFloat(map.get("rh_ave").toString()));
+                        prophaseAnemometryPublicData.setRhMax(!map.containsKey("rh_max") ? null : Float.parseFloat(map.get("rh_max").toString()));
+                        prophaseAnemometryPublicData.setRhMin(!map.containsKey("rh_min") ? null : Float.parseFloat(map.get("rh_min").toString()));
+                        prophaseAnemometryPublicData.setRhSta(!map.containsKey("rh_sta") ? null : Float.parseFloat(map.get("rh_sta").toString()));
+
+                        prophaseAnemometryPublicData.setPaInst(!map.containsKey("pa_inst") ? null : Float.parseFloat(map.get("pa_inst").toString()));
+                        prophaseAnemometryPublicData.setPaAve(!map.containsKey("pa_ave") ? null : Float.parseFloat(map.get("pa_ave").toString()));
+                        prophaseAnemometryPublicData.setPaMax(!map.containsKey("pa_max") ? null : Float.parseFloat(map.get("pa_max").toString()));
+                        prophaseAnemometryPublicData.setPaMin(!map.containsKey("pa_min") ? null : Float.parseFloat(map.get("pa_min").toString()));
+                        prophaseAnemometryPublicData.setPaSta(!map.containsKey("pa_sta") ? null : Float.parseFloat(map.get("pa_sta").toString()));
+
+                        prophaseAnemometryPublicData.setAirDensity(!map.containsKey("air_density") ? null : Float.parseFloat(map.get("air_density").toString()));
+                        prophaseAnemometryPublicDataArrayList.add(prophaseAnemometryPublicData);
+                    }
+                    //切分List
+                    List<List<ProphaseWeatherData>> partition = ListUtil.partition(prophaseAnemometryPublicDataArrayList, 3000);
+                    //分批保存
+                    for (List<ProphaseWeatherData> prophaseAnemometryPublicDataList : partition) {
+                        prophaseWeatherDataMapper.insertSplice(prophaseAnemometryPublicDataList, equipmentId);
+                    }
+                    ArrayList<ProphaseAnemometryData> prophaseAnemometryDataArrayList = new ArrayList<>();
+                    for (String height : dataSet) {
+                        for (Map<String, Object> m : mapList) {
+                            //风速 风向
+                            ProphaseAnemometryData one = new ProphaseAnemometryData();
+                            //组装子表数据
+                            one.setWsAve(!m.containsKey("ws_ave" + height) ? null : CalculationUtil.getBigDecimal(m.get("ws_ave" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWsMax(!m.containsKey("ws_max" + height) ? null : CalculationUtil.getBigDecimal(m.get("ws_max" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWsMin(!m.containsKey("ws_min" + height) ? null : CalculationUtil.getBigDecimal(m.get("ws_min" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWsSta(!m.containsKey("ws_sta" + height) ? null : CalculationUtil.getBigDecimal(m.get("ws_sta" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWsInst(!m.containsKey("ws_inst" + height) ? null : CalculationUtil.getBigDecimal(m.get("ws_inst" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWdAve(!m.containsKey("wd_ave" + height) ? null : CalculationUtil.getBigDecimal(m.get("wd_ave" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWdMax(!m.containsKey("wd_max" + height) ? null : CalculationUtil.getBigDecimal(m.get("wd_max" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWdMin(!m.containsKey("wd_min" + height) ? null : CalculationUtil.getBigDecimal(m.get("wd_min" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWdSta(!m.containsKey("wd_sta" + height) ? null : CalculationUtil.getBigDecimal(m.get("wd_sta" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+                            one.setWdInst(!m.containsKey("wd_inst" + height) ? null : CalculationUtil.getBigDecimal(m.get("wd_inst" + height)).setScale(2, RoundingMode.HALF_UP).floatValue());
+
+                            one.setTs(new Timestamp(Long.parseLong(m.get("time").toString())));
+                            prophaseAnemometryDataArrayList.add(one);
+                        }
+                        //切分List
+                        List<List<ProphaseAnemometryData>> partition1 = ListUtil.partition(prophaseAnemometryDataArrayList, 3000);
+                        //分批保存
+                        for (List<ProphaseAnemometryData> prophaseAnemometryData : partition1) {
+                            prophaseAnemometryDataMapper.insertSplice(prophaseAnemometryData, equipmentId, height);
+                        }
+                    }
+                }
+            }
+
+        }
+
+
+    }
+
+
 
 }

+ 15 - 8
neim-biz/src/main/resources/application-dev.yml

@@ -2,8 +2,11 @@
 spring:
   data:
     mongodb:
-      host: 192.168.1.208
-      port: 27017
+      host: 49.4.78.194
+#      host: 10.124.252.246
+#      host: 192.168.1.208
+      port: 17142
+#      port: 27017
       database: neim
       username: neimdb
       password: 'neim123'
@@ -13,7 +16,8 @@ spring:
       datasource:
         mysql:
 #          url: jdbc:mysql://192.168.1.205:3306/nerp-test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
-          url: jdbc:mysql://49.4.78.194:17136/nerp-test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
+#          url: jdbc:mysql://49.4.78.194:17136/nerp-test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
+          url: jdbc:mysql://10.124.252.246:3306/nerp-db-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
           username: root
           password: '!QAZ2root'
           driver-class-name: com.mysql.cj.jdbc.Driver
@@ -60,9 +64,12 @@ spring:
                 config:
                   multi-statement-allow: true
         tdengine:
-          url: jdbc:TAOS://192.168.1.208:6030/nerp_db
+#          url: jdbc:TAOS://192.168.1.208:6030/nerp_db
+          url: jdbc:TAOS://10.124.252.246:6030/nerp_db
+#          url: jdbc:TAOS://49.4.78.194:17139/nerp_db
           username: root
-          password: 123456
+#          password: 123456
+          password: "!QAZ2root"
           driver-class-name: com.taosdata.jdbc.TSDBDriver
           type: com.alibaba.druid.pool.DruidDataSource
           druid:
@@ -73,10 +80,10 @@ spring:
   redis:
     # 地址
 #    host: 192.168.1.205
-    host: 49.4.78.194
+    host: 10.124.252.244
     # 端口,默认为6379
-#    port: 6379
-    port: 17137
+    port: 6379
+#    port: 17137
     # 数据库索引
     database: 0
     # 密码

+ 75 - 11
neim-ui/src/views/largeScreenPage/components/bigeHeatMap.vue

@@ -65,7 +65,11 @@ export default {
       let _self = this
       bigemap.then(() => {
         // window.BM.Config.HTTP_URL = 'http://www.bigemap.com:9000';
-        window.BM.Config.HTTP_URL = 'http://localhost:9000';
+        //window.BM.Config.HTTP_URL = 'http://10.124.252.243:9000';
+        window.BM.Config.HTTP_URL = process.env.VUE_APP_GIS_API;
+        let ip1 = process.env.VUE_APP_GIS_API;
+        let ip2 = 'http://49.4.78.194:17143';
+        let mapid = 'bigemap.re-huafu'
         // window.BM.Config.HTTP_URL = 'http://192.168.1.181:9000';
         // arcgis-satellite
         // amap-satellite
@@ -78,30 +82,90 @@ export default {
           attributionControl: false,
           preferCanvas: true, //适用于数据量大时 地图反应速度加快
         });
+        var promise = fetch(`${ip1}/tokens/v1?access_token=none`).then(function (response) {
+          return response.json();
+        }).then(function (body) {
+          return body.token
+        }).then(
+          (token) => {
+            var CanvasLayer = BM.GridLayer.extend({
+              createTile: function (coords, done) {
+                let error;
+                let {
+                  x,
+                  y,
+                  z
+                } = coords;
+                let tile = new Image;
+                tile.style.backgroundColor = 'inherit';
+                tile.src = `${ip2}/${mapid}/tiles/${z}/${x}/${y}.png?access_token=${token}`
+                setTimeout(function () {
+                  done(error, tile);
+                  return null
+                }, 1000);
+                return tile;
+              }
+            });
+            new CanvasLayer({maxZoom:12}).addTo(map);
+          }
+        )
         window.Bmap = map;
-        var layer1=window.BM.tileLayer('bigemap.re-huafu')
-        var layer2=window.BM.tileLayer('bigemap.heatMapWs',{opacity:0.7});
-        map.setMaxZoom(12);
-        layer1.addTo(map);
+       // var layer1=window.BM.tileLayer('bigemap.re-huafu')
+        //var layer2=window.BM.tileLayer('bigemap.heatMapWs',{opacity:0.7});
+        let heatmapid = 'bigemap.heatMapWs';
+        fetch(`${ip1}/tokens/v1?access_token=none`).then(function (response) {
+          return response.json();
+        }).then(function (body) {
+          return body.token
+        }).then(
+          (token) => {
+            var CanvasLayer = BM.GridLayer.extend({
+              createTile: function (coords, done) {
+                let error;
+                let {
+                  x,
+                  y,
+                  z
+                } = coords;
+                let tile = new Image;
+                tile.style.backgroundColor = 'inherit';
+                tile.src = `${ip2}/${heatmapid}/tiles/${z}/${x}/${y}.png?access_token=${token}`
+                setTimeout(function () {
+                  done(error, tile);
+                  return null
+                }, 1000);
+                return tile;
+              }
+            });
+            new CanvasLayer({
+              maxNativeZoom:8,
+              maxZoom:12,
+              opacity:0.7
+            }).addTo(map);
+          }
+        )
+        // map.setMaxZoom(12);
+        // layer1.addTo(map);
+        this.bMap = map;
         setTimeout(()=>{
-          Object.assign(layer2.options,{
-            maxNativeZoom:8,
-            maxZoom:12
-          })
+          // Object.assign(layer2.options,{
+          //   maxNativeZoom:8,
+          //   maxZoom:12
+          // })
           if (this.mapData.center.length !== 0) {
             _self.level = this.mapData.level
             _self.center = this.mapData.center
             this.bMap.setView(this.mapData.center, this.mapData.level)
           }
         },500)
-        layer2.addTo(map);
+        // layer2.addTo(map);
         // 热力图是有8级需合并两个图层
         // var layer = window.BM.tileLayer('bigemap.0utmz6qt', {opacity: 0.7}).addTo(map).on('load', function () {
         //   layer.options.maxNativeZoom = 8;
         //   layer.options.maxZoom = 12;
         //   map.setMaxZoom(12);
         // })
-        this.bMap = map;
+
         //首尾需要一致
         let mask = window.BMturf.polygon([[[-180, -90], [180, -90], [180, 90], [-180, 90], [-180, -90]]]);
         let geo2;

+ 75 - 11
neim-ui/src/views/largeScreenPage/components/bigeHeatSunMap.vue

@@ -66,7 +66,11 @@ export default {
       bigemap.then(() => {
         // window.BM.Config.HTTP_URL = 'http://www.bigemap.com:9000';
         // window.BM.Config.HTTP_URL = 'http://192.168.1.181:9000';
-        window.BM.Config.HTTP_URL = 'http://localhost:9000';
+        // window.BM.Config.HTTP_URL = 'http://10.124.252.243:9000';
+        window.BM.Config.HTTP_URL = process.env.VUE_APP_GIS_API;
+        let ip1 = process.env.VUE_APP_GIS_API;
+        let ip2 = 'http://49.4.78.194:17143';
+        let mapid = 'bigemap.re-huafu'
         // arcgis-satellite
         // amap-satellite
         // zhongkexingtu
@@ -79,24 +83,84 @@ export default {
           attributionControl: false,
           preferCanvas: true, //适用于数据量大时 地图反应速度加快
         });
+        var promise = fetch(`${ip1}/tokens/v1?access_token=none`).then(function (response) {
+          return response.json();
+        }).then(function (body) {
+          return body.token
+        }).then(
+          (token) => {
+            var CanvasLayer = BM.GridLayer.extend({
+              createTile: function (coords, done) {
+                let error;
+                let {
+                  x,
+                  y,
+                  z
+                } = coords;
+                let tile = new Image;
+                tile.style.backgroundColor = 'inherit';
+                tile.src = `${ip2}/${mapid}/tiles/${z}/${x}/${y}.png?access_token=${token}`
+                setTimeout(function () {
+                  done(error, tile);
+                  return null
+                }, 1000);
+                return tile;
+              }
+            });
+            new CanvasLayer({maxZoom:12}).addTo(map);
+          }
+        )
         window.Bmap = map;
-        var layer1=window.BM.tileLayer('bigemap.re-huafu')
-        var layer2=window.BM.tileLayer('bigemap.heatMapSun',{opacity:0.7});
-        map.setMaxZoom(12);
-        layer1.addTo(map);
+        //var layer1=window.BM.tileLayer('bigemap.re-huafu')
+        //var layer2=window.BM.tileLayer('bigemap.heatMapSun',{opacity:0.7});
+        //map.setMaxZoom(12);
+        //layer1.addTo(map);
+        let heatmapid = 'bigemap.heatMapSun';
+        fetch(`${ip1}/tokens/v1?access_token=none`).then(function (response) {
+          return response.json();
+        }).then(function (body) {
+          return body.token
+        }).then(
+          (token) => {
+            var CanvasLayer = BM.GridLayer.extend({
+              createTile: function (coords, done) {
+                let error;
+                let {
+                  x,
+                  y,
+                  z
+                } = coords;
+                let tile = new Image;
+                tile.style.backgroundColor = 'inherit';
+                tile.src = `${ip2}/${heatmapid}/tiles/${z}/${x}/${y}.png?access_token=${token}`
+                setTimeout(function () {
+                  done(error, tile);
+                  return null
+                }, 1000);
+                return tile;
+              }
+            });
+            new CanvasLayer({
+              maxNativeZoom:8,
+              maxZoom:12,
+              opacity:0.7
+            }).addTo(map);
+          }
+        )
+        this.bMap = map;
         setTimeout(()=>{
-          Object.assign(layer2.options,{
-            opacity:0.7,
-            maxNativeZoom:8,
-            maxZoom:12
-          })
+          // Object.assign(layer2.options,{
+          //   opacity:0.7,
+          //   maxNativeZoom:8,
+          //   maxZoom:12
+          // })
           if (this.mapData.center.length !== 0) {
             _self.level = this.mapData.level
             _self.center = this.mapData.center
             this.bMap.setView(this.mapData.center, this.mapData.level)
           }
         },500)
-        layer2.addTo(map);
+        //layer2.addTo(map);
         this.bMap = map;
         //首尾需要一致
         let mask = window.BMturf.polygon([[[-180, -90], [180, -90], [180, 90], [-180, 90], [-180, -90]]]);

+ 33 - 2
neim-ui/src/views/largeScreenPage/components/bigeMap.vue

@@ -62,13 +62,17 @@ export default {
       let _self = this
       bigemap.then(() => {
         // window.BM.Config.HTTP_URL = 'http://www.bigemap.com:9000';
-        window.BM.Config.HTTP_URL = 'http://localhost:9000';
+        //window.BM.Config.HTTP_URL = 'http://10.124.252.244/webgis-api';
+        window.BM.Config.HTTP_URL = process.env.VUE_APP_GIS_API;
+        let ip1 = process.env.VUE_APP_GIS_API;
+        let ip2 = 'http://49.4.78.194:17143';
+        let mapid = 'bigemap.re-huafu'
         // window.BM.Config.HTTP_URL = 'http://192.168.1.181:9000';
         // arcgis-satellite
         // amap-satellite
         // zhongkexingtu
         // let map = window.BM.map('map', 'bigemap.arcgis-satellite', {
-        let map = window.BM.map('map', 'bigemap.re-huafu', {
+        let map = window.BM.map('map', null, {
           center: [30, 104],
           minZoom: 6,
           zoom: 11,
@@ -76,6 +80,33 @@ export default {
           attributionControl: false,
           preferCanvas: true, //适用于数据量大时 地图反应速度加快
         });
+        var promise = fetch(`${ip1}/tokens/v1?access_token=none`).then(function (response) {
+          return response.json();
+        }).then(function (body) {
+          return body.token
+        }).then(
+          (token) => {
+            var CanvasLayer = BM.GridLayer.extend({
+              createTile: function (coords, done) {
+                let error;
+                let {
+                  x,
+                  y,
+                  z
+                } = coords;
+                let tile = new Image;
+                tile.style.backgroundColor = 'inherit';
+                tile.src = `${ip2}/${mapid}/tiles/${z}/${x}/${y}.png?access_token=${token}`
+                setTimeout(function () {
+                  done(error, tile);
+                  return null
+                }, 1000);
+                return tile;
+              }
+            });
+            new CanvasLayer({maxZoom:12}).addTo(map);
+          }
+        )
         window.Bmap=map;
         this.bMap=map;
         //首尾需要一致

+ 1 - 1
pom.xml

@@ -249,7 +249,7 @@
                     <compilerArguments>
                         <!-- 解决maven命令编译报错,因为rt.jar 和jce.jar在jre的lib下面,不在jdk的lib下面,
                         导致maven找不到(java7以后会出现这个问题)-->
-                        <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar</bootclasspath>
+                        <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar;${java.home}\lib\jsse.jar</bootclasspath>
                     </compilerArguments>
                 </configuration>
             </plugin>