修改commons-lang3冲突

This commit is contained in:
孙小云 2025-12-04 15:04:00 +08:00
parent 9031a2f4e7
commit 34ec3d9310
1 changed files with 10 additions and 3 deletions

13
pom.xml
View File

@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.tuoheng</groupId>
<artifactId>hyf</artifactId>
<version>1.0-SNAPSHOT</version>
<groupId>com.tuoheng.hxf</groupId>
<artifactId>parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<artifactId>thingsboard-client-demo</artifactId>
@ -32,6 +32,13 @@
<version>4.2.1</version>
</dependency>
<!-- 显式声明 commons-lang3 版本以解决 NoSuchMethodError -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.14.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>