From 7c849abf29dd848ee04c61f0074ae1d84705a9cf Mon Sep 17 00:00:00 2001 From: Awen <39176130+yu1183688986@users.noreply.github.com> Date: 星期五, 30 四月 2021 10:42:59 +0800 Subject: [PATCH] 修复集合遍历删除元素的java.util.ConcurrentModificationException 异常问题 --- pom.xml | 153 ++++++++++++++++++++++++++++---------------------- 1 files changed, 85 insertions(+), 68 deletions(-) diff --git a/pom.xml b/pom.xml index dba80cf..1b82c43 100644 --- a/pom.xml +++ b/pom.xml @@ -10,16 +10,44 @@ </parent> <groupId>com.genersoft</groupId> - <artifactId>wvp</artifactId> + <artifactId>wvp-gb28181</artifactId> + <version>2.0.0</version> <name>web video platform</name> + + <repositories> + <repository> + <id>nexus-aliyun</id> + <name>Nexus aliyun</name> + <url>https://maven.aliyun.com/repository/public</url> + <layout>default</layout> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>nexus-aliyun</id> + <name>Nexus aliyun</name> + <url>https://maven.aliyun.com/repository/public</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </pluginRepository> + </pluginRepositories> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format> + <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version> <!-- 渚濊禆鐗堟湰 --> - <mapper.version>4.1.5</mapper.version> - <mybatis.version>3.5.5</mybatis.version> - <mybatis.spring.version>2.0.5</mybatis.spring.version> <pagehelper.version>5.2.0</pagehelper.version> <snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory> <asciidoctor.input.directory>${project.basedir}/docs/asciidoc</asciidoctor.input.directory> @@ -31,30 +59,20 @@ <dependencies> <dependency> <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-jdbc</artifactId> - </dependency> - <dependency> - <groupId>org.springframework.boot</groupId> - <artifactId>spring-boot-starter-tomcat</artifactId> + <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-context</artifactId> - </dependency> - - <!-- redis --> - <dependency> - <groupId>org.springframework.data</groupId> - <artifactId>spring-data-redis</artifactId> + <groupId>org.mybatis.spring.boot</groupId> + <artifactId>mybatis-spring-boot-starter</artifactId> + <version>2.1.4</version> </dependency> <dependency> - <groupId>redis.clients</groupId> - <artifactId>jedis</artifactId> - <version>3.3.0</version> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-security</artifactId> </dependency> <!-- druid鏁版嵁搴撹繛鎺ユ睜 --> @@ -71,49 +89,35 @@ <version>8.0.22</version> </dependency> - <!--Mybatis --> + <!-- 娣诲姞sqlite-jdbc鏁版嵁搴撻┍鍔� --> <dependency> - <groupId>org.mybatis</groupId> - <artifactId>mybatis</artifactId> - <version>${mybatis.version}</version> - </dependency> - <dependency> - <groupId>org.mybatis</groupId> - <artifactId>mybatis-spring</artifactId> - <version>${mybatis.spring.version}</version> + <groupId>org.xerial</groupId> + <artifactId>sqlite-jdbc</artifactId> + <version>3.32.3.2</version> </dependency> - <!--鍒嗛〉鎻掍欢 --> + <!--Mybatis鍒嗛〉鎻掍欢 --> <dependency> <groupId>com.github.pagehelper</groupId> - <artifactId>pagehelper</artifactId> - <version>${pagehelper.version}</version> + <artifactId>pagehelper-spring-boot-starter</artifactId> + <version>1.2.10</version> </dependency> - <!--閫氱敤Mapper --> - <dependency> - <groupId>tk.mybatis</groupId> - <artifactId>mapper</artifactId> - <version>${mapper.version}</version> - </dependency> - <dependency> - <groupId>org.apache.commons</groupId> - <artifactId>commons-lang3</artifactId> - <version>3.11</version> - </dependency> - - <!--Swagger2 --> + <!--Swagger3 --> <!--鍦ㄧ嚎鏂囨。 --> <dependency> <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> - <version>2.9.2</version> + <artifactId>springfox-boot-starter</artifactId> + <version>3.0.0</version> </dependency> <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> - <version>2.6.1</version> + <groupId>com.github.xiaoymin</groupId> + <artifactId>knife4j-spring-boot-starter</artifactId> + <version>3.0.2</version> </dependency> + + + <!--鍙傛暟鏍¢獙 --> <dependency> <groupId>javax.validation</groupId> <artifactId>validation-api</artifactId> @@ -129,10 +133,9 @@ <dependency> <groupId>javax.sip</groupId> <artifactId>jain-sip-ri</artifactId> - <version>1.3.0-92</version> - <scope>system</scope> - <systemPath>${project.basedir}/libs/jain-sip-ri-1.3.0-92.jar</systemPath> + <version>1.3.0-91</version> </dependency> + <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> @@ -141,7 +144,7 @@ <!-- xml瑙f瀽搴� --> <dependency> - <groupId>org.dom4j</groupId> + <groupId>org.dom4j</groupId> <artifactId>dom4j</artifactId> <version>2.1.3</version> </dependency> @@ -166,11 +169,37 @@ <artifactId>okhttp</artifactId> <version>4.9.0</version> </dependency> - </dependencies> + + <!-- okhttp-digest --> + <dependency> + <groupId>com.burgstaller</groupId> + <artifactId>okhttp-digest</artifactId> + <version>2.1</version> + </dependency> + + <!-- https://mvnrepository.com/artifact/net.sf.kxml/kxml2 --> + <dependency> + <groupId>net.sf.kxml</groupId> + <artifactId>kxml2</artifactId> + <version>2.3.0</version> + </dependency> + + + <!-- onvif鍗忚鏍� --> + <dependency> + <groupId>be.teletask</groupId> + <artifactId>onvif-java</artifactId> + <version>1.0.2</version> + <scope>system</scope> + <systemPath>${project.basedir}/libs/onvif-java-1.0.2.jar</systemPath> + </dependency> + </dependencies> + + <build> + <finalName>${project.artifactId}-${project.version}-${maven.build.timestamp}</finalName> <plugins> - <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> @@ -184,18 +213,6 @@ <configuration> <source>1.8</source> <target>1.8</target> - <!-- - <webResources> - <resource> - <directory>${project.basedir}/libs</directory> - <targetPath>WEB-INF/lib</targetPath> - <filtering>true</filtering> - <includes> - <include>**/*.jar</include> - </includes> - </resource> - </webResources> - --> </configuration> </plugin> -- Gitblit v1.8.0