前言:记录下遇到的问题
Java自动化测试在调试中遇到的问题总结
1、遇到的Waring:must be unique
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.vertica.jdbc:vertica-jdbc:jar -> duplicate declaration of version 10.0.1-0 @ line 142, column 21 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: dm:jdbc:jar -> duplicate declaration of version 8.18 @ line 148, column 21
排查原因:pom.xm有两个重复的jar包,检查下,才知道有2个jar重复了(copy导致)
2、使用已过期的API
[INFO] /xxx/t